commit d92c4b17183612660a9f1e36198654c9818a3aaf
parent 5ac91d89dca0a8e957165342b652ede11b611d15
Author: Andrej Kacian <ticho@claws-mail.org>
Date: Tue, 23 Oct 2018 19:42:24 +0200
Disable GTK overlay scrollbars unless the user has it explicitly enabled.
Diffstat:
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git a/src/common/claws.c b/src/common/claws.c
@@ -110,6 +110,11 @@ gboolean claws_init(int *argc, char ***argv)
putenv("G_BROKEN_FILENAMES=1");
putenv("LIBOVERLAY_SCROLLBAR=0");
+ /* Disable GTK's overlay scrollbar feature, unless user has
+ * this environment variable already set. */
+ if (!g_getenv("GTK_OVERLAY_SCROLLING"))
+ putenv("GTK_OVERLAY_SCROLLING=0");
+
/* backup if old rc file exists */
if (is_file_exist(RC_DIR)) {
if (g_rename(RC_DIR, RC_DIR ".bak") < 0) {