Commit c703dcf3 authored by Philipp Hörist's avatar Philipp Hörist

Windows: Disable CSD by default

parent 22cb839e
Pipeline #4365 passed with stages
in 2 minutes and 46 seconds
......@@ -65,6 +65,17 @@ def _init_gui(gui):
_init_gtk()
def _disable_csd():
if os.name != 'nt':
return
if 'GTK_OSD' in os.environ:
# Respect user settings
return
os.environ['GTK_CSD'] = "0"
def _init_gtk():
import gi
try:
......@@ -140,4 +151,5 @@ def main():
_check_required_deps()
_set_proc_title()
_disable_csd()
_init_gui('GTK')
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment