From b972c34d5fcb1fe91b6bc55a99b031838eb30a38 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Sun, 14 Dec 2014 11:14:13 -0600 Subject: [PATCH] Mouse simulatin should receive mouse positional input even if no button is pressed --- arch/sim/src/up_x11framebuffer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/sim/src/up_x11framebuffer.c b/arch/sim/src/up_x11framebuffer.c index b686bd53ad..12a5c5db99 100644 --- a/arch/sim/src/up_x11framebuffer.c +++ b/arch/sim/src/up_x11framebuffer.c @@ -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 */