now setting default cursor on focus_client to prevent GTK braindamage cursors

This commit is contained in:
Anselm R. Garbe 2006-01-19 17:26:09 +02:00
parent 62c11d4a5b
commit 40c3143c35

View File

@ -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);