mirror of
https://github.com/leahneukirchen/cwm.git
synced 2023-08-10 21:13:12 +03:00
cvsimport
* refs/heads/master: Because cwm warps the pointer during a client move (to stay within the client), there's a window of time where an expose or enternotify event will get generated for a lower client; use a hammer and drain events after keyboard move/resize, until such a time that cwm doesn't warp the pointer. Behavior noticed by kn. Fix regression from r1.107 (lost a return); kettenis@ pointed out the high potential for a use-after-free (true!) where kn@ ran into the regression using an app that actually exercised the XGrabPointer() failure path. Add application section command uses execvp(3) not execve(2) Plug a memory leak in log_debug(); OK okan@ Handle _NET_WM_NAME changes.
This commit is contained in:
2
kbfunc.c
2
kbfunc.c
@ -145,6 +145,7 @@ kbfunc_client_move_kb(void *ctx, struct cargs *cargs)
|
||||
|
||||
client_move(cc);
|
||||
client_ptr_inbound(cc, 1);
|
||||
XSync(X_Dpy, True);
|
||||
}
|
||||
|
||||
static void
|
||||
@ -233,6 +234,7 @@ kbfunc_client_resize_kb(void *ctx, struct cargs *cargs)
|
||||
|
||||
client_resize(cc, 1);
|
||||
client_ptr_inbound(cc, 1);
|
||||
XSync(X_Dpy, True);
|
||||
}
|
||||
|
||||
static void
|
||||
|
Reference in New Issue
Block a user