mirror of
https://github.com/mpv-player/mpv
synced 2024-10-18 10:25:02 +02:00
move bug fixed
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4304 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
63ddd5ab74
commit
bbb8ff0ad7
@ -177,19 +177,12 @@ static void set_window(){
|
||||
|
||||
static void check_events(void)
|
||||
{
|
||||
int e=vo_x11_check_events(mDisplay);
|
||||
|
||||
if(e&VO_EVENT_RESIZE){
|
||||
set_window();
|
||||
if ( ioctl( f,MGA_VID_CONFIG,&mga_vid_config ) )
|
||||
{
|
||||
printf( "Error in mga_vid_config ioctl (wrong mga_vid.o version?)" );
|
||||
// exit( 0 );
|
||||
}
|
||||
|
||||
} else
|
||||
if(e&VO_EVENT_EXPOSE) mDrawColorKey();
|
||||
|
||||
int e=vo_x11_check_events(mDisplay);
|
||||
if ( !(e&VO_EVENT_RESIZE) && !(e&VO_EVENT_EXPOSE) ) return;
|
||||
if(e&VO_EVENT_EXPOSE) mDrawColorKey();
|
||||
set_window();
|
||||
if ( ioctl( f,MGA_VID_CONFIG,&mga_vid_config ) )
|
||||
printf( "Error in mga_vid_config ioctl (wrong mga_vid.o version?)" );
|
||||
}
|
||||
|
||||
static void draw_osd(void)
|
||||
|
Loading…
Reference in New Issue
Block a user