From 9dda5b63713614134fa9f9a15869c4e08db14428 Mon Sep 17 00:00:00 2001 From: ediblerope Date: Mon, 11 May 2026 11:26:55 +0100 Subject: [PATCH] hyprland: force zero-scaling for XWayland surfaces Long-shot attempt at the Hearthstone-after-resize lag. Tells Hyprland not to scale XWayland windows compositor-side, which is the better-tested path for Wine games and sometimes makes resize-state recovery less broken. Co-Authored-By: Claude Opus 4.7 --- settings/hyprland.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/settings/hyprland.nix b/settings/hyprland.nix index d67501b..e831f7c 100644 --- a/settings/hyprland.nix +++ b/settings/hyprland.nix @@ -134,6 +134,12 @@ no_warps = true; # don't teleport the cursor on focus changes }; + xwayland = { + # Skip Hyprland's compositor-side scaling for XWayland surfaces. + # Often helps Wine games recover better from resize/move events. + force_zero_scaling = true; + }; + dwindle = { preserve_split = true; pseudotile = true;