[vlc-devel] [PATCH] xcb: set the window position after mapping the window instead of during creation

Rémi Denis-Courmont remi at remlab.net
Wed Jan 29 13:12:49 CET 2014

On Wed, 29 Jan 2014 12:59:00 +0100, Felix Abecassis
<felix.abecassis at gmail.com> wrote:
> 2014-01-29 Rémi Denis-Courmont <remi at remlab.net>:
>> Problem is, we should only do that when the coordinate where explicitly
>> requested. Otherwise, we should really let the WM decide on the window
>> position, rather than force it to the top left.
> We can have the default values of video-x and video-y set to "-1" to
> signal the coordinates were not requested (like width/height). But how
> do we let the WM set the window position? Coordinates are not optional
> when creating the window.

The X11 convention is to pass zero as the default value.

Rémi Denis-Courmont
Sent from my collocated server

More information about the vlc-devel mailing list