[Wayland-bugs] [Bug 766860] tiled (snapped, half-maximized) windows in Wayland aren't GDK_WINDOW_STATE_TILED

gtk+ (GNOME Bugzilla) bugzilla at gnome.org
Thu May 26 15:53:21 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=766860

--- Comment #23 from Simon McVittie <simon.mcvittie at collabora.co.uk> ---
(In reply to Olivier Fourdan from comment #12)
> Can you elaborate a bit, what is it exactly that you need [for]
> gnome-terminal?

Apart from the decision whether GTK's client-side decorations should have
rounded or sharp corners (which is internal to GTK), gnome-terminal wants to be
able to decide between two modes:

* fit exactly into a space we've been given, and fill that space even if
  it means leaving up to (1 character cell - 1 pixel) unused around the
  edges
  (MAXIMIZED, TILED or FULLSCREEN)

* behave as a normal "floating" window; constrain resizes to
  character-cell-sized steps because that's all that makes sense for
  a terminal
  (none of those flags)

I would guess that tiling window managers (XMonad, Awesome, etc.) would
probably want to put every window in the TILED mode too.

GTK's API for this, GDK_WINDOW_STATE_TILED, is (quoting the docs)

"""
the window is in a tiled state
"""

and it isn't 100% clear which specific aspect(s) of tiling were meant by that,
but given that the API exists, it seems sensible for it to mean *something* in
Wayland.

-- 
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/20160526/e54d922b/attachment.html>


More information about the wayland-bugs mailing list