mirror of
https://github.com/0intro/wmii
synced 2025-01-27 04:23:22 +03:00
now setting default cursor on focus_client to prevent GTK braindamage cursors
This commit is contained in:
parent
62c11d4a5b
commit
40c3143c35
@ -49,6 +49,7 @@ focus_client(Client *new, Client *old)
|
||||
grab_client(new, Mod1Mask, Button3);
|
||||
XRaiseWindow(dpy, new->win);
|
||||
XSetInputFocus(dpy, new->win, RevertToPointerRoot, CurrentTime);
|
||||
XDefineCursor(dpy, new->win, normal_cursor);
|
||||
draw_frame(new->frame);
|
||||
invoke_wm_event(def[WM_EVENT_CLIENT_UPDATE]);
|
||||
XSync(dpy, False);
|
||||
|
Loading…
Reference in New Issue
Block a user