aboutsummaryrefslogtreecommitdiffhomepage
path: root/libvo
diff options
context:
space:
mode:
authorGravatar pontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-05-01 09:29:06 +0000
committerGravatar pontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-05-01 09:29:06 +0000
commit33d7a129df7f967637a6f6a3ce89f43b395b3938 (patch)
treecc4ab3ad2f1700824db3f5962521a42703d9ba0b /libvo
parentd8751b2f38207e9589ab136cc589c8ccb02c7fb8 (diff)
some bug fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5920 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-rw-r--r--libvo/x11_common.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/libvo/x11_common.c b/libvo/x11_common.c
index 268a77bf53..fbf59a6f05 100644
--- a/libvo/x11_common.c
+++ b/libvo/x11_common.c
@@ -498,9 +498,6 @@ int vo_x11_check_events(Display *mydisplay){
&vo_dx, &vo_dy, (Window *)&foo);
}
#endif
-// if (verbose)
- printf("X11 Window %dx%d-%dx%d\n", vo_dx, vo_dy, vo_dwidth, vo_dheight);
- printf("============================================================\n" );
ret|=VO_EVENT_RESIZE;
break;
case KeyPress:
@@ -549,8 +546,7 @@ int vo_x11_check_events(Display *mydisplay){
!strncmp( name,"_KDE_",5 ) ||
!strncmp( name,"KWM_WIN_DESKTOP",15 ) ) vo_wm_type=0;
- fprintf(stderr,"[ws] PropertyNotify ( 0x%x ) %s ( 0x%x )\n",
- vo_window,name,Event.xproperty.atom );
+// fprintf(stderr,"[ws] PropertyNotify ( 0x%x ) %s ( 0x%x )\n",vo_window,name,Event.xproperty.atom );
XFree( name );
}
@@ -578,6 +574,7 @@ void vo_x11_sizehint( int x, int y, int width, int height, int max )
void vo_x11_fullscreen( void )
{
if ( vo_wm_type ) XUnmapWindow( mDisplay,vo_window );
+
if ( !vo_fs )
{
vo_fs=VO_TRUE;