mirror of
https://github.com/mpv-player/mpv.git
synced 2026-10-28 23:13:18 +08:00
Remove completely useless cursor variable.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20671 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
@@ -30,7 +30,6 @@ uint32_t o_dheight;
|
||||
|
||||
static HINSTANCE hInstance;
|
||||
HWND vo_window = 0;
|
||||
static int cursor = 1;
|
||||
static int event_flags;
|
||||
static int mon_cnt;
|
||||
|
||||
@@ -240,16 +239,10 @@ static int createRenderingContext(void) {
|
||||
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);
|
||||
|
||||
Reference in New Issue
Block a user