Fixed incorrect initialization of an XMotionEvent.

This commit is contained in:
crs 2003-04-14 22:16:21 +00:00
parent 6a108ed2d5
commit aeb3f760d0
1 changed files with 1 additions and 1 deletions

View File

@ -598,7 +598,7 @@ CXWindowsPrimaryScreen::warpCursorNoFlush(
eventBefore.xmotion.x_root = x;
eventBefore.xmotion.y_root = y;
eventBefore.xmotion.state = 0;
eventBefore.xmotion.is_hint = False;
eventBefore.xmotion.is_hint = NotifyNormal;
eventBefore.xmotion.same_screen = True;
XEvent eventAfter = eventBefore;
XSendEvent(display, m_window, False, 0, &eventBefore);