Mouse simulatin should receive mouse positional input even if no button is pressed

This commit is contained in:
Gregory Nutt 2014-12-14 11:14:13 -06:00
parent bb8adff45b
commit b972c34d5f

View File

@ -136,7 +136,7 @@ static inline int up_x11createframe(void)
ButtonPressMask|ButtonReleaseMask|PointerMotionMask);
#else
XSelectInput(g_display, g_window,
ButtonPressMask|ButtonReleaseMask|ButtonMotionMask|KeyPressMask);
ButtonPressMask|ButtonReleaseMask|PointerMotionMask|KeyPressMask);
#endif
/* Release queued events on the display */