diff --git a/usr/lib/hypnotix/hypnotix.py b/usr/lib/hypnotix/hypnotix.py index a6be99f..1633cb5 100755 --- a/usr/lib/hypnotix/hypnotix.py +++ b/usr/lib/hypnotix/hypnotix.py @@ -12,8 +12,7 @@ from pathlib import Path # Force X11 on a Wayland session -if "WAYLAND_DISPLAY" in os.environ: - os.environ["WAYLAND_DISPLAY"] = "" +os.environ["GDK_BACKEND"] = "x11" # Suppress GTK deprecation warnings warnings.filterwarnings("ignore")