summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-11-04 19:19:03 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-11-04 19:19:03 +0000
commit2de69adf98ec3ee508a19807fe0cefc9065cf2e2 (patch)
tree194d938ece2e513d9208af15831ba881e6e0464d /libvo
parent4457f7e07a42bb3ab3d060e2fa74a963ecd58d9f (diff)
downloadmpv-2de69adf98ec3ee508a19807fe0cefc9065cf2e2.tar.bz2
mpv-2de69adf98ec3ee508a19807fe0cefc9065cf2e2.tar.xz
Remove completely useless cursor variable.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20671 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-rw-r--r--libvo/w32_common.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/libvo/w32_common.c b/libvo/w32_common.c
index d52dad00c8..4b19594249 100644
--- a/libvo/w32_common.c
+++ b/libvo/w32_common.c
@@ -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);