mirror of
https://github.com/mpv-player/mpv
synced 2024-12-19 05:15:12 +00: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:
parent
4457f7e07a
commit
2de69adf98
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user