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