mirror of
https://github.com/0intro/wmii
synced 2025-03-30 02:22:50 +03:00
improved detach policy on tabbed frame in col layout
This commit is contained in:
parent
ab068f2594
commit
4b50294b0d
@ -188,6 +188,7 @@ static void detach_col(Area *a, Client *c, Bool unmap)
|
||||
cext_detach_item(&col->frames, f);
|
||||
destroy_frame(f);
|
||||
}
|
||||
else return;
|
||||
if (cext_sizeof_container(&col->frames))
|
||||
iter_arrange_column(col, a);
|
||||
else {
|
||||
|
@ -309,7 +309,7 @@ void mouse_move(Frame * f)
|
||||
pt.y = ey;
|
||||
XSync(dpy, False);
|
||||
XGrabServer(dpy);
|
||||
while (XGrabPointer(dpy, f->win, False, ButtonMotionMask | ButtonReleaseMask,
|
||||
while (XGrabPointer(dpy, root, False, ButtonMotionMask | ButtonReleaseMask,
|
||||
GrabModeAsync, GrabModeAsync, None, move_cursor, CurrentTime) != GrabSuccess)
|
||||
usleep(20000);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user