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 82f9391763
commit f16d78b52c
1 changed files with 1 additions and 1 deletions

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 */