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

Guillermo Rodriguez guillerodriguez.dev at gmail.com
Mon Jan 27 15:13:41 UTC 2020


Hi,

El lun., 27 ene. 2020 a las 14:21, Pekka Paalanen
(<ppaalanen at gmail.com>) escribió:
>
> 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.

I'm using wl_shell.

>
> > 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.

Yes, that's why I clarified that it is not really a fullscreen
surface, but a toplevel surface with the dimensions of the screen.
(I know that position of the window is not specified by the protocol,
but Weston is always placing the surface at 0,0)

Also this is an embedded system where there are no other components
such as desktop panels...

BR,

Guillermo Rodriguez Garcia


More information about the wayland-devel mailing list