projects
/
geeqie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8c142f0
)
Part fix #985: Fullscreen alwasys loads on the wrong screen in a dual-monitor setup
author
Colin Clark
<colin.clark@cclark.uk>
Fri, 24 Jun 2022 09:17:30 +0000
(10:17 +0100)
committer
Colin Clark
<colin.clark@cclark.uk>
Fri, 24 Jun 2022 09:17:30 +0000
(10:17 +0100)
https://github.com/BestImageViewer/geeqie/issues/985
Removes the need for the user to set GDK_BACKEND.
User can still override the x11 setting by setting GDK_BACKEND to
something else.
src/main.c
patch
|
blob
|
history
diff --git
a/src/main.c
b/src/main.c
index
7ae3f99
..
863e39a
100644
(file)
--- a/
src/main.c
+++ b/
src/main.c
@@
-1175,6
+1175,10
@@
gint main(gint argc, gchar *argv[])
gint fd_stderr[2];
GIOChannel *stderr_channel;
+#if GTK_CHECK_VERSION(3,10,0)
+ gdk_set_allowed_backends("x11,*");
+#endif
+
#ifdef HAVE_GTHREAD
#if !GLIB_CHECK_VERSION(2,32,0)
g_thread_init(NULL);