Commit 04605d83 authored by Gildas Bazin's avatar Gildas Bazin

* modules/video_output/x11/xcommon.c: fix for detection of parent window size changes

parent bc309899
......@@ -517,11 +517,6 @@ static int ManageVideo( vout_thread_t *p_vout )
{
/* ConfigureNotify event: prepare */
if( xevent.type == ConfigureNotify )
{
if( (unsigned int)xevent.xconfigure.width
!= p_vout->p_sys->p_win->i_width ||
(unsigned int)xevent.xconfigure.height
!= p_vout->p_sys->p_win->i_height )
{
/* Update dimensions */
XResizeWindow( p_vout->p_sys->p_display,
......@@ -531,7 +526,6 @@ static int ManageVideo( vout_thread_t *p_vout )
}
}
}
}
/* Handle X11 events: ConfigureNotify events are parsed to know if the
* output window's size changed, MapNotify and UnmapNotify to know if the
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment