Commit ba9ecc70 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Fix warning

parent 7e0ac127
...@@ -1627,10 +1627,9 @@ static int CreateWindow( vout_thread_t *p_vout, x11_window_t *p_win ) ...@@ -1627,10 +1627,9 @@ static int CreateWindow( vout_thread_t *p_vout, x11_window_t *p_win )
if( !p_vout->b_fullscreen ) if( !p_vout->b_fullscreen )
{ {
p_win->owner_window = (Window) void *ptr = vout_RequestWindow( p_vout, &p_win->i_x, &p_win->i_y,
vout_RequestWindow( p_vout, &p_win->i_x, &p_win->i_y, &p_win->i_width, &p_win->i_height );
&p_win->i_width, &p_win->i_height ); p_win->owner_window = (uintptr_t)ptr;
xsize_hints.base_width = xsize_hints.width = p_win->i_width; xsize_hints.base_width = xsize_hints.width = p_win->i_width;
xsize_hints.base_height = xsize_hints.height = p_win->i_height; xsize_hints.base_height = xsize_hints.height = p_win->i_height;
xsize_hints.flags = PSize | PMinSize; xsize_hints.flags = PSize | PMinSize;
......
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