[GTK4] Can GtkWindow get being notified when its position changed?

Hello,
I want to know if a toplevel GtkWindow can be got notified with GTK4 whenever its position changed. I’m searching an equivalent solution of "configure_event’ signal.
Does it possible? Thank you in advance for your help.

You can’t: on Wayland, all top level surfaces have fixed (0, 0) coordinates because there’s no global coordinate space.

As part of the windowing system redesign that was part of GTK4, Wayland is the main target platform for GTK, which means anything related to global screen coordinates does not have a corresponding API.

There is no equivalent.

1 Like

Hello @ebassi,
Thank you for your rapid reply.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.