mirror of
https://github.com/mpv-player/mpv.git
synced 2026-10-25 04:29:53 +08:00
x11_common.c: minor cleanup
Remove some commented-out code that has no purpose and is only confusing. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31620 b3059339-0415-0410-9bf9-f77b7e298cf2 Remove useless () git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31621 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
+1
-3
@@ -781,9 +781,7 @@ int vo_x11_check_events(struct vo *vo)
|
||||
char buf[100];
|
||||
KeySym keySym;
|
||||
|
||||
// unsigned long vo_KeyTable[512];
|
||||
|
||||
if ((x11->vo_mouse_autohide) && x11->mouse_waiting_hide &&
|
||||
if (x11->vo_mouse_autohide && x11->mouse_waiting_hide &&
|
||||
(GetTimerMS() - x11->mouse_timer >= 1000)) {
|
||||
vo_hidecursor(display, x11->window);
|
||||
x11->mouse_waiting_hide = 0;
|
||||
|
||||
Reference in New Issue
Block a user