[MPlayer-cvslog] r20671 - trunk/libvo/w32_common.c

reimar subversion at mplayerhq.hu
Sat Nov 4 20:19:03 CET 2006


Author: reimar
Date: Sat Nov  4 20:19:03 2006
New Revision: 20671

Modified:
   trunk/libvo/w32_common.c

Log:
Remove completely useless cursor variable.


Modified: trunk/libvo/w32_common.c
==============================================================================
--- trunk/libvo/w32_common.c	(original)
+++ trunk/libvo/w32_common.c	Sat Nov  4 20:19:03 2006
@@ -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);



More information about the MPlayer-cvslog mailing list