[Github-comments] [geany/geany] Add '--no-new-instance' option. (#1128)

konsolebox notifications at xxxxx
Fri Jul 8 12:32:53 UTC 2016


> I was wondering how well the gtk present() mechanism works on non-gtk desktops? Geany only has special handling for win and x11.

I'm not sure if there would be some desktops that would have that issue, but this feature would at least be helpful to those who are using the major ones, especially X.  Besides, same would apply if you're letting the current instance open another file.  If the desktop doesn't support `gtk_window_present()`, then the instance window would also not be automatically shown to the foreground, after the files are opened.

I think it's likely that any modern desktop would support it, since it's just about sending an existing window to foreground.  Are there other desktops to worry about besides Windows and X?  Wayland surely would have that, and Mac probably also does.

I'm using XFCE by the way.  It depends on GTK but not on GNOME.  And GTK runs/works on top of X.

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/1128#issuecomment-231347827
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20160708/527e0db9/attachment.html>


More information about the Github-comments mailing list