Fullscreen window (Re: Thread safety when rendering on a separate thread)

Pekka Paalanen ppaalanen at gmail.com
Mon Jan 27 13:20:59 UTC 2020


On Mon, 27 Jan 2020 12:58:13 +0100
Guillermo Rodriguez <guillerodriguez.dev at gmail.com> wrote:

> El lun., 27 ene. 2020 a las 12:53, Pekka Paalanen
> (<ppaalanen at gmail.com>) escribió:
> >
> > On Mon, 27 Jan 2020 12:36:27 +0100
> > Guillermo Rodriguez <guillerodriguez.dev at gmail.com> wrote:
> >  
> > > Thank you for your answer. This is an embedded fullscreen application, so no
> > > window management.  
> >
> > Fullscreen is one of the modes where you need to be careful with your
> > window size and synchronise correctly to obey the compositor's demands.  
> 
> Can you elaborate on this?

Hi,

the xdg-shell extension suite has some rules on when the client must
obey compositor constraints and when it is free to pick any window size
it wants.

I am assuming that you are using the xdg-shell extension suite for
window management. If you are using some other extension for window
management, that changes things. In any case, you must be using some
window management extension, because otherwise the window will not
appear on screen.

> btw I said fullscreen but this is actually a toplevel shell surface
> with the same
> size as the current video mode (so that it occuppies the whole screen).

That is not fullscreen but a floating window with a peculiar size.
Position of the window could be anywhere, and does not prevent UI
components like desktop panels from displacing it or showing on top of
it.

Proper fullscreen is an explicit window state, and then the compositor
tells you what size the window needs to be and makes sure it actually
behaves like a fullscreen window.


Thanks,
pq
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/wayland-devel/attachments/20200127/c5901efb/attachment.sig>


More information about the wayland-devel mailing list