XSync(X.disp, False);
}
+static inline int PRESSED(int mods, int btn)
+{
+ return ((mods & (1 << (btn + 7))) == (1 << (btn + 7)));
+}
+
static void xbtnpress(XEvent* e)
{
XButtonEvent* ev = &(e->xbutton);
X.reshaping = 0;
}
-static inline int PRESSED(int mods, int btn)
-{
- return ((mods & (1 << (btn + 7))) == (1 << (btn + 7)));
-}
-
static void xbtnmotion(XEvent* e)
{
XMotionEvent *ev = &e->xmotion;
Focused = c;
XSetInputFocus(X.disp, c->win, RevertToPointerRoot, CurrentTime);
client_draw(Focused, 1);
+ XSync(X.disp, False);
}
\ No newline at end of file