Commit 76838e15 authored by Tinu Weber's avatar Tinu Weber

karuiwm/resizemouse: Don't allow mouse-resizing dialog windows

parent df38533b
...@@ -783,10 +783,10 @@ resizemouse(union arg arg) ...@@ -783,10 +783,10 @@ resizemouse(union arg arg)
if (c->fullscreen) { if (c->fullscreen) {
warn("attempt to resize fullscreen client"); warn("attempt to resize fullscreen client");
return; return;
}/* else if (c->dialog) { } else if (c->dialog) {
warn("attempt to resize dialog client"); warn("attempt to resize dialog client");
return; return;
}*/ }
/* grab the pointer and change the cursor appearance */ /* grab the pointer and change the cursor appearance */
if (XGrabPointer(x11.dpy, x11.root, false, MOUSEMASK, GrabModeAsync, if (XGrabPointer(x11.dpy, x11.root, false, MOUSEMASK, GrabModeAsync,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment