[PATCH] xdg-shell: add draw states for xdg_surface
gschwind at gnu-log.net
Tue Jun 7 08:47:13 UTC 2016
On 07/06/2016 10:30, Olivier Fourdan wrote:
> Hi Benoit,
> ----- Original Message -----
>> My primary complain is that draw states should be merged with the
>> previously defined window/surface states, because by definition a draw
>> state is a state for a window, just like the state activated for example.
> I disagree here, if anything we should keep the semantic states separate, we wouldn't want to have something like "no_shadow" or "no_border" as a semantic state like "maximized" or "fullscreen", do we?
fullscreen and maximized are shortcut for drawing states:
* fullscreen = no_border+no_shadow
* maximized = no_shadow+no_maximized_button+reduce_button
what about activated state, that basically mean draw it as activated ?
This is too difficult to draw a line between draw states and "behaviors"
states, they are linked.
I think we should think about window state once more :D
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
More information about the wayland-devel