summaryrefslogtreecommitdiffstats
path: root/src/main.cpp
diff options
context:
space:
mode:
authorEduard Braun <eduard.braun2@gmx.de>2017-10-12 17:43:37 +0000
committerEduard Braun <eduard.braun2@gmx.de>2017-10-12 17:43:37 +0000
commit22430892c3b4fc1e2c4bdef625e71db4cf5bfd42 (patch)
tree71ac5ac0e027fea4ee0bca6313133160cdcede8a /src/main.cpp
parentUpdate POTFILES.in etc. after renaming (diff)
downloadinkscape-22430892c3b4fc1e2c4bdef625e71db4cf5bfd42.tar.gz
inkscape-22430892c3b4fc1e2c4bdef625e71db4cf5bfd42.zip
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
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp4
1 files changed, 0 insertions, 4 deletions
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();