aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/QuickMedia.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/QuickMedia.cpp b/src/QuickMedia.cpp
index a8a3ddc..47b027e 100644
--- a/src/QuickMedia.cpp
+++ b/src/QuickMedia.cpp
@@ -962,7 +962,7 @@ namespace QuickMedia {
}
if(video_player_window && XCheckTypedWindowEvent(disp, video_player_window, MotionNotify, &xev)) {
- while(XCheckTypedEvent(disp, MotionNotify, &xev));
+ while(XCheckTypedWindowEvent(disp, video_player_window, MotionNotify, &xev));
cursor_hide_timer.restart();
if(!cursor_visible)
window.setMouseCursorVisible(true);