From aeb3f760d02af1b67abf855ddd03342c85b1b2c0 Mon Sep 17 00:00:00 2001 From: crs Date: Mon, 14 Apr 2003 22:16:21 +0000 Subject: [PATCH] Fixed incorrect initialization of an XMotionEvent. --- lib/platform/CXWindowsPrimaryScreen.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/platform/CXWindowsPrimaryScreen.cpp b/lib/platform/CXWindowsPrimaryScreen.cpp index 69e91951..a99cfea9 100644 --- a/lib/platform/CXWindowsPrimaryScreen.cpp +++ b/lib/platform/CXWindowsPrimaryScreen.cpp @@ -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);