diff options
author | 2002-05-14 11:41:02 +0000 | |
---|---|---|
committer | 2002-05-14 11:41:02 +0000 | |
commit | 1932ce4014700e79e98b5ff93b8cbcfb2a115581 (patch) | |
tree | 96ace8f08d1ab0cd1bc3f072f1a4d98ae7b83d0d /libvo | |
parent | 8852e42fc7e674a34e65d6ac8ea4866a9bc5068c (diff) |
small fixes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6090 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-rw-r--r-- | libvo/x11_common.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libvo/x11_common.c b/libvo/x11_common.c index 5b09716ae4..121e95c8c3 100644 --- a/libvo/x11_common.c +++ b/libvo/x11_common.c @@ -68,7 +68,7 @@ int mLocalDisplay; /* output window id */ int WinID=-1; int vo_mouse_autohide = 0; -int vo_wm_type = vo_wm_Unknown; +int vo_wm_type = -1; #ifdef HAVE_XINERAMA int xinerama_screen = 0; @@ -232,6 +232,7 @@ int vo_wm_detect( void ) } } while( c++ < 25 ); if ( name ) XFree( name ); + XUnmapWindow( mDisplay,win ); XDestroyWindow( mDisplay,win ); #ifdef MP_DEBUG if ( wm == vo_wm_Unknown ) mp_dbg( MSGT_VO,MSGL_STATUS,"[x11] Unknown wm type...\n" ); |