From 2de69adf98ec3ee508a19807fe0cefc9065cf2e2 Mon Sep 17 00:00:00 2001 From: reimar Date: Sat, 4 Nov 2006 19:19:03 +0000 Subject: [PATCH] Remove completely useless cursor variable. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20671 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libvo/w32_common.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/libvo/w32_common.c b/libvo/w32_common.c index d52dad00c8..4b19594249 100644 --- a/libvo/w32_common.c +++ b/libvo/w32_common.c @@ -30,7 +30,6 @@ uint32_t o_dheight; static HINSTANCE hInstance; HWND vo_window = 0; -static int cursor = 1; static int event_flags; static int mon_cnt; @@ -240,16 +239,10 @@ static int createRenderingContext(void) { 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);