From 0b6a984071b5addafb1e5f01b6247eaae63ee379 Mon Sep 17 00:00:00 2001 From: Gabriel Ebner Date: Thu, 16 Jul 2020 12:40:19 +0200 Subject: [PATCH] Disable wayland backend for Qt. --- sway.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sway.nix b/sway.nix index a7573ff..93f6855 100644 --- a/sway.nix +++ b/sway.nix @@ -55,7 +55,10 @@ export DBUS_SESSION_BUS_ADDRESS export SDL_VIDEODRIVER=wayland - export QT_QPA_PLATFORM=wayland + + # https://github.com/swaywm/sway/issues/4506 + export QT_QPA_PLATFORM=xcb + # export QT_QPA_PLATFORM=wayland export QT_WAYLAND_DISABLE_WINDOWDECORATION=1 # Fix for some Java AWT applications (e.g. Android Studio),