diff options
Diffstat (limited to 'libvo/vo_xmga.c')
-rw-r--r-- | libvo/vo_xmga.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libvo/vo_xmga.c b/libvo/vo_xmga.c index f5ca3f1bfb..5ad5d923fd 100644 --- a/libvo/vo_xmga.c +++ b/libvo/vo_xmga.c @@ -299,7 +299,7 @@ static uint32_t config( uint32_t width, uint32_t height, uint32_t d_width, uint3 #endif vo_gc=XCreateGC( mDisplay,vo_window,GCForeground,&wGCV ); #ifdef HAVE_NEW_GUI - } else guiGetEvent( guiSetShVideo,0 ); + } else if(use_gui) guiGetEvent( guiSetShVideo,0 ); #endif set_window(); |