From 22430892c3b4fc1e2c4bdef625e71db4cf5bfd42 Mon Sep 17 00:00:00 2001 From: Eduard Braun Date: Thu, 12 Oct 2017 19:43:37 +0200 Subject: Do not force-disable CSD on Windows The code introduced in 860d326a9ac03c2b1e0a3f45c3ed3d35f94c3d54 is no longer necessary as gtk3 client side decorations are now disabled by default in MSYS2's gtk3 builds, see upstream patch: https://github.com/Alexpux/MINGW-packages/commit/69f8e3294ec0d612d274f69e5e517026a8c340b6 To enable CSD on-the-fly set the environment variable `GTK_CSD` to 1 --- src/main.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index 9f204851b..aec7d96a9 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -700,10 +700,6 @@ main(int argc, char **argv) RegistryTool rt; rt.setPathInfo(); } - - // disable "client side decorations" as they prevent window borders and titlebars to be drawn with native theming - // see also https://bugzilla.gnome.org/show_bug.cgi?id=778791 - g_setenv("GTK_CSD", "0", FALSE); #endif set_extensions_env(); -- cgit v1.2.3