GNOME Bugzilla – Bug 623289
GtkApplication: add screen and workspace to platform data
Last modified: 2018-02-10 03:31:29 UTC
For replacing unique.
if gtk+ has been initialized by the second instance, we can ask gtk itself for the current screen number and workspace; if gtk+ hasn't been initialized and we don't have a display connection, we can use an environment variable like we do for the desktop file and the pid.
I just ported my app to GtkApplication and also miss those. Ideally, I think the GtkApplication::activated signal should expose these infos are they can be pretty useful.
We're moving to gitlab! As part of this move, we are closing bugs that haven't seen activity in more than 5 years. If this issue is still imporant to you and still relevant with GTK+ 3.22 or master, please consider creating a gitlab issue for it.