[PATCH] xdg-shell: add draw states for xdg_surface

Olivier Fourdan ofourdan at redhat.com
Tue Jun 7 08:00:27 UTC 2016


Hi Jonas,

----- Original Message -----
> On Mon, Jun 06, 2016 at 09:50:19AM -0400, Matthias Clasen wrote:
> > To me, 'draw states' sounds a lot like 'mwm hints' - which would be a
> > 180 degree reversal from semantic states back to presentation states.
> > Do we really want to go down that road ?
> 
> I'm not too familiar with MWM hints, but this does not affect the
> semantic states, nor will it replace any of them. They'll all be
> optional, and they are mostly meant to be used by DE:s that wants to
> opt-in on non-default behaviours.

Yeah, but still not unlike EMWH vs. MWM hints, in X11 you can have a EWMH semantics and apply additional presentation tweaks using MWM, that's how gtk+ achieves CSD in X11 for example, it uses MWM hints to tell the WM not to decorate the window.

Cheers,
Olivier


More information about the wayland-devel mailing list