Bug#940916: libgtk-3-0: Gtk in wayland does not move windows

Simon McVittie smcv at debian.org
Wed Apr 8 13:17:50 BST 2020


Control: tags -1 + upstream wontfix

On Sat, 21 Sep 2019 at 16:43:59 -0300, Yuri Teixeira wrote:
> I'd like to inform that function gtk_window_move() does not work when
> using Wayland.

This is working as intended. Wayland applications do not have control
over the absolute position of their top-level windows: they can only alter
the position of a child (popup) window relative to its parent. This is part
of the design of the Wayland protocol.

In Wayland, the only part of the overall system with control over the
absolute position of a top-level window is the compositor (for example
GNOME Shell). Top-level window positioning in GNOME can be influenced
by GNOME Shell extensions.

The documentation for gtk_window_move() says

    Window managers are free to ignore this

and Wayland compositors effectively behave like one of the window managers
that does ignore it.

    smcv



More information about the pkg-gnome-maintainers mailing list