Client: macOS support

This commit is contained in:
sarah committed 2026-10-14 13:18:19 +02:00
1 parent 5c04a4a77d
commit d86e33fd4a
4 files changed
+80 -9

No files matched your search

+1 -1
View File
@@ -23,7 +23,7 @@ from Settings import ShowSettingsDialog
def _SetCursorThemeFallback() -> None:
"""GTK reads XCURSOR_THEME directly and doesn't always inherit it (shows as
'Unable to load ... from the cursor theme'). Same fix as SaraFem's."""
if os.environ.get("XCURSOR_THEME") or sys.platform == "win32": # GTK/GNOME only
if os.environ.get("XCURSOR_THEME") or not sys.platform.startswith("linux"): # GTK/GNOME only
return
try:
Result = subprocess.run(["gsettings", "get", "org.gnome.desktop.interface", "cursor-theme"],