[MPlayer-cvslog] r20988 - trunk/libvo/w32_common.c
reimar
subversion at mplayerhq.hu
Fri Nov 17 18:44:51 CET 2006
Author: reimar
Date: Fri Nov 17 18:44:51 2006
New Revision: 20988
Modified:
trunk/libvo/w32_common.c
Log:
Adapt code to annoying ShowCursor semantics (increases/decreases and returns
an internal variable, cursor is show when this variable is >= 0)
Modified: trunk/libvo/w32_common.c
==============================================================================
--- trunk/libvo/w32_common.c (original)
+++ trunk/libvo/w32_common.c Fri Nov 17 18:44:51 2006
@@ -239,10 +239,10 @@
if (vo_fs || vo_ontop) layer = HWND_TOPMOST;
if (vo_fs) {
changeMode();
- ShowCursor(0);
+ while (ShowCursor(0) >= 0) /**/ ;
} else {
resetMode();
- ShowCursor(1);
+ while (ShowCursor(1) < 0) /**/ ;
}
updateScreenProperties();
ShowWindow(vo_window, SW_HIDE);
More information about the MPlayer-cvslog
mailing list