[Wayland-bugs] [Bug 766860] tiled (snapped, half-maximized) windows in Wayland aren't GDK_WINDOW_STATE_TILED
gtk+ (GNOME Bugzilla)
bugzilla at gnome.org
Mon Jun 6 06:51:51 UTC 2016
https://bugzilla.gnome.org/show_bug.cgi?id=766860
--- Comment #27 from Simon McVittie <simon.mcvittie at collabora.co.uk> ---
(In reply to Matthias Clasen from comment #25)
> Review of attachment 328508:
>
> Given that this mechanism exists, lets use it.
This mechanism doesn't exist until Attachment #328512 is (reviewed and) merged.
(In reply to Matthias Clasen from comment #26)
> Review of attachment 328512:
>
> ::: src/wayland/meta-wayland-xdg-shell.c
> @@ +407,3 @@
> + s = wl_array_add (states, sizeof *s);
> + *s = XDG_SURFACE_STATE_GNOME_TILED;
> + }
>
> A very obvious enhancement here would be to have separate states for
> tiled-left and tiled-right, but we may want to discuss the best way to
> encode that; e.g. by enumerating non-tiled edges
Having a simple flag for TILED exactly matches the GDK API here, and is
sufficient to preserve X11 functionality under Wayland (rectangular window
decorations when tiled, and reporting the tiled status to application code). I
think there's a risk of letting the perfect be the enemy of the good: can we
land the simple version that is sufficient to implement the current GDK API,
then leave the bug open (or clone another bug) for enhancing it to describe
more elaborate encodings if desired?
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/wayland-bugs/attachments/20160606/3c57c9db/attachment-0001.html>
More information about the wayland-bugs
mailing list