summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libvo/w32_common.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libvo/w32_common.c b/libvo/w32_common.c
index 0b740661e2..eec817d68f 100644
--- a/libvo/w32_common.c
+++ b/libvo/w32_common.c
@@ -239,10 +239,10 @@ static int createRenderingContext(void) {
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);