Mercurial > mplayer.hg
diff libvo/w32_common.c @ 20655:ee9982a6ef5c
Remove completely useless cursor variable.
author | reimar |
---|---|
date | Sat, 04 Nov 2006 19:19:03 +0000 |
parents | 7094d22578d4 |
children | 5fe83dd75490 |
line wrap: on
line diff
--- a/libvo/w32_common.c Sat Nov 04 18:11:17 2006 +0000 +++ b/libvo/w32_common.c Sat Nov 04 19:19:03 2006 +0000 @@ -30,7 +30,6 @@ static HINSTANCE hInstance; HWND vo_window = 0; -static int cursor = 1; static int event_flags; static int mon_cnt; @@ -240,16 +239,10 @@ if (vo_fs || vo_ontop) layer = HWND_TOPMOST; if (vo_fs) { changeMode(); - if (cursor) { ShowCursor(0); - cursor = 0; - } } else { resetMode(); - if (!cursor) { ShowCursor(1); - cursor = 1; - } } updateScreenProperties(); ShowWindow(vo_window, SW_HIDE);