aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2020-07-11 18:54:56 +0200
committerdec05eba <dec05eba@protonmail.com>2020-07-11 18:54:56 +0200
commit89fbdcfa0963b58de14951cc1ad22ab46590bee0 (patch)
tree1b528acbfe080205e119a2fea31684db48a4e8b7 /src
parent996fae60ee768335032a8e1ab8e077b40c3adcac (diff)
Only compress events from target window
Diffstat (limited to 'src')
-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);