different delete handling from axel.
who knows what it fixes or breaks.
This commit is contained in:
parent
0fa6e0cfbf
commit
56afeac8ea
2 changed files with 8 additions and 7 deletions
|
|
@ -23,11 +23,11 @@ setactive(Client *c, int on)
|
|||
XUngrabButton(dpy, AnyButton, AnyModifier, c->parent);
|
||||
XSetInputFocus(dpy, c->window, RevertToPointerRoot, timestamp());
|
||||
if (c->proto & Ptakefocus)
|
||||
sendcmessage(c->window, wm_protocols, wm_take_focus, 0);
|
||||
sendcmessage(c->window, wm_protocols, wm_take_focus, 0, 0);
|
||||
cmapfocus(c);
|
||||
} else {
|
||||
if (c->proto & Plosefocus)
|
||||
sendcmessage(c->window, wm_protocols, wm_lose_focus, 0);
|
||||
sendcmessage(c->window, wm_protocols, wm_lose_focus, 0, 0);
|
||||
XGrabButton(dpy, AnyButton, AnyModifier, c->parent, False,
|
||||
ButtonMask, GrabModeAsync, GrabModeSync, None, None);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue