changeset 8086:51cab3e229d4

fix by Pontscho
author nexus
date Sun, 03 Nov 2002 16:58:07 +0000
parents ce06bf810d5a
children 610976c39408
files libvo/x11_common.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/x11_common.c	Sun Nov 03 15:56:58 2002 +0000
+++ b/libvo/x11_common.c	Sun Nov 03 16:58:07 2002 +0000
@@ -538,6 +538,7 @@
       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