summaryrefslogtreecommitdiffstats
path: root/libvo/x11_common.c
diff options
context:
space:
mode:
authornexus <nexus@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-11-03 16:58:07 +0000
committernexus <nexus@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-11-03 16:58:07 +0000
commit867f5281963858b430b708447167c4f5846b6508 (patch)
tree0bb2fbedc357a88cdb07566ed052920404866317 /libvo/x11_common.c
parentddac80c68ef23f24a3f0e3851bd88c3598c9f353 (diff)
downloadmpv-867f5281963858b430b708447167c4f5846b6508.tar.bz2
mpv-867f5281963858b430b708447167c4f5846b6508.tar.xz
fix by Pontscho
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8087 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/x11_common.c')
-rw-r--r--libvo/x11_common.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libvo/x11_common.c b/libvo/x11_common.c
index ff697d0c7e..00e45bb2fd 100644
--- a/libvo/x11_common.c
+++ b/libvo/x11_common.c
@@ -538,6 +538,7 @@ int vo_x11_check_events(Display *mydisplay){
case ConfigureNotify:
// if (!vo_fs && (Event.xconfigure.width == vo_screenwidth || Event.xconfigure.height == vo_screenheight)) break;
// if (vo_fs && Event.xconfigure.width != vo_screenwidth && Event.xconfigure.height != vo_screenheight) break;
+ if ( vo_window == None ) break;
vo_dwidth=Event.xconfigure.width;
vo_dheight=Event.xconfigure.height;
#if 0