diff options
author | raveit65 <[email protected]> | 2017-01-08 15:36:25 +0100 |
---|---|---|
committer | monsta <[email protected]> | 2017-01-26 15:02:46 +0300 |
commit | f163b43728be648b7a91057ffb25b1b8505da36a (patch) | |
tree | 4846f1e6a083ea1f22f0733bac63ab7deee68a0f | |
parent | f4a47715f30743cd05efe58588dd00e886ab8c22 (diff) | |
download | eom-f163b43728be648b7a91057ffb25b1b8505da36a.tar.bz2 eom-f163b43728be648b7a91057ffb25b1b8505da36a.tar.xz |
[GTK+3] force X11 backend
adapted from https://github.com/mate-desktop/eom/commit/52e24934ab37f874df2511ed760b2e39b49b5048
-rw-r--r-- | src/main.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -203,6 +203,10 @@ main (int argc, char **argv) gtk_rc_parse (EOM_DATA_DIR G_DIR_SEPARATOR_S "gtkrc"); #endif +#if GTK_CHECK_VERSION (3, 0, 0) + gdk_set_allowed_backends ("x11"); +#endif + ctx = g_option_context_new (NULL); g_option_context_add_main_entries (ctx, goption_options, PACKAGE); /* Option groups are free'd together with the context |