Logo
Explore Help
Sign In
logos-storage/deluge
1
0
Fork 0
You've already forked deluge
mirror of https://github.com/logos-storage/deluge.git synced 2026-01-05 22:53:07 +00:00
Code Issues Packages Projects Releases Wiki Activity
deluge/packaging/win/pyi_rth_gtk_csd.py

4 lines
61 B
Python
Raw Normal View History

[Packaging] Disable GTK CSD by default on Windows CirnoT reported how they felt that GTK3 is not reliable on Windows. Seeing some weird issues where clicking Deluge icon on taskbar does bring window to front but doing so again does not minimize it as one would expect. By using GTK_CSD=0 this would reduce these problems. > If changed to 0, this disables the default use of client-side decorations on GTK windows, thus making the window manager responsible for drawing the decorations of windows that do not have a custom titlebar widget. This can be overridden by a global env var. Ref: https://github.com/deluge-torrent/deluge/pull/331#issuecomment-1012311605 Ref: https://docs.gtk.org/gtk3/running.html
2022-01-21 10:35:09 +00:00
import os
os.environ['GTK_CSD'] = os.getenv('GTK_CSD', '0')
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.0 Page: 45ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API