oops that could be dangerous if it wasn't handled

This commit is contained in:
AJ Kelly
2011-08-17 16:39:21 -05:00
parent 424add65a7
commit e3b6b142f1
+1 -1
View File
@@ -156,7 +156,7 @@ InputHandler_X11::~InputHandler_X11()
XWindowAttributes winAttrib;
XGetWindowAttributes( Dpy, Win, &winAttrib );
XSelectInput( Dpy, Win, winAttrib.your_event_mask & ~(KeyPressMask|KeyReleaseMask|ButtonPressMask|ButtonReleaseMask) );
XSelectInput( Dpy, Win, winAttrib.your_event_mask & ~(KeyPressMask|KeyReleaseMask|ButtonPressMask|ButtonReleaseMask|PointerMotionMask) );
}
void InputHandler_X11::Update()