# HG changeset patch # User reimar # Date 1163785491 0 # Node ID ef8ac967b43fffd9d51feebbfc6a66ce3187539e # Parent e243a3de18c263d56a90d2183bd489b80c0e3351 Adapt code to annoying ShowCursor semantics (increases/decreases and returns an internal variable, cursor is show when this variable is >= 0) diff -r e243a3de18c2 -r ef8ac967b43f libvo/w32_common.c --- a/libvo/w32_common.c Fri Nov 17 17:43:40 2006 +0000 +++ b/libvo/w32_common.c Fri Nov 17 17:44:51 2006 +0000 @@ -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);