summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-07-02 19:18:17 +0000
committerUoti Urpala <uau@glyph.nonexistent.invalid>2010-11-02 04:14:20 +0200
commitefdce758ce171ef133fb8a8748866dced120e742 (patch)
treee9a640ecf8169588d7fcc54440728391480da06c /libvo
parent5583369c981553710d5342c585290036a44b31c9 (diff)
downloadmpv-efdce758ce171ef133fb8a8748866dced120e742.tar.bz2
mpv-efdce758ce171ef133fb8a8748866dced120e742.tar.xz
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
Diffstat (limited to 'libvo')
-rw-r--r--libvo/x11_common.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/libvo/x11_common.c b/libvo/x11_common.c
index b50f82a75e..068561c20a 100644
--- a/libvo/x11_common.c
+++ b/libvo/x11_common.c
@@ -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;