Have workspace/virtual desktop information on Wayland
GDK has the following functions available:
gdk_x11_screen_get_current_desktop()-
gdk_x11_window_get_desktop()(GDK 3) orgdk_x11_surface_get_desktop()(GDK 4) - etc.
But these functions are available on X11 only. The feature request is to add something similar for Wayland.
Use case in gedit and Devhelp
Re-use an existing GtkApplicationWindow if there is already one on the current workspace/virtual desktop.
For gedit: when opening a new file either from the terminal or from a file manager like Nautilus.
For Devhelp: when asking the application to search a certain symbol, triggered from another application (text editor or other developer tool).
In all cases, the user uses the different desktop workspaces to work on different projects in parallel. For example on one workspace: a terminal plus a gedit window plus Devhelp for one project. The same on another workspace for a different project.
Is the use case something that you would like to support in GTK/GDK?