diff options
author | dec05eba <dec05eba@protonmail.com> | 2020-07-11 18:54:56 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2020-07-11 18:54:56 +0200 |
commit | 89fbdcfa0963b58de14951cc1ad22ab46590bee0 (patch) | |
tree | 1b528acbfe080205e119a2fea31684db48a4e8b7 | |
parent | 996fae60ee768335032a8e1ab8e077b40c3adcac (diff) |
Only compress events from target window
-rw-r--r-- | src/QuickMedia.cpp | 2 |
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); |