changeset 20655:ee9982a6ef5c

Remove completely useless cursor variable.
author reimar
date Sat, 04 Nov 2006 19:19:03 +0000
parents 37f5cd897b03
children 839c48c35ce8
files libvo/w32_common.c
diffstat 1 files changed, 0 insertions(+), 7 deletions(-) [+]
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);