<div dir="ltr"><div class="gmail_quote"><div dir="ltr">On Tue, Mar 20, 2018 at 10:15 AM Simon McVittie <<a href="mailto:smcv@collabora.com">smcv@collabora.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Tue, 20 Mar 2018 at 09:52:02 -0400, Mike Blumenkrantz wrote:<br>
> this adds implementation from a related discussion long ago in which<br>
> it was decided that it would be useful for clients to know if/where their<br>
> windows were tiled so that various behaviors and visuals could be modified<br>
> to improve UX<br>
><br>
> a window which is e.g., tiled on the right side of the screen would set the<br>
> right|top|bottom tiled states in configure<br>
<br>
Are these for the same purpose as the tiled states in the (currently private)<br>
protocol between GTK+ and Mutter/GNOME Shell?<br>
<br>
This has separate per-edge flags for:<br>
<br>
- Tiling: each edge is tiled (aligned to some other object) or not, so<br>
  that windows and client-side decorations can make UI choices like<br>
  "draw shadows on each edge that is not tiled" or "draw square corners<br>
  at each corner involving a tiled edge, and rounded corners where<br>
  neither edge is tiled"<br>
<br>
- Resizability: each edge is resizable or not, so that client-side<br>
  decorations can show or not show resize handles as appropriate (in<br>
  GNOME Shell you can tile two windows and then drag their shared<br>
  border to adjust the split, and I suspect that the Wayland equivalents<br>
  of X11 tiling window managers would want this too)<br>
<br>
<a href="https://bugzilla.gnome.org/show_bug.cgi?id=751857" rel="noreferrer" target="_blank">https://bugzilla.gnome.org/show_bug.cgi?id=751857</a><br>
<a href="https://gitlab.gnome.org/GNOME/mutter/blob/master/src/wayland/protocol/gtk-shell.xml" rel="noreferrer" target="_blank">https://gitlab.gnome.org/GNOME/mutter/blob/master/src/wayland/protocol/gtk-shell.xml</a><br>
<br>
Regards,<br>
    smcv<br>
_______________________________________________<br>
wayland-devel mailing list<br>
<a href="mailto:wayland-devel@lists.freedesktop.org" target="_blank">wayland-devel@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/wayland-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/wayland-devel</a></blockquote><div><br></div><div>They could be used for those purposes, yes. </div></div></div>