aboutsummaryrefslogtreecommitdiffhomepage
path: root/example
diff options
context:
space:
mode:
authorVaxry <[email protected]>2024-10-08 20:28:30 +0100
committerVaxry <[email protected]>2024-10-08 20:28:34 +0100
commit60308a2bb576413cbc787d4bde4f8d0e3fa3c9d6 (patch)
tree6e430994640c3cbc5c0bcc8fc3eb3d2db9f0e848 /example
parent613eac4603f4a15868c88a47a8ee8dcb84ee2dd3 (diff)
downloadHyprland-60308a2bb576413cbc787d4bde4f8d0e3fa3c9d6.tar.gz
Hyprland-60308a2bb576413cbc787d4bde4f8d0e3fa3c9d6.zip
defaultConfig: add a nofocus rule for weird X windows
ref #6543
Diffstat (limited to 'example')
-rw-r--r--example/hyprland.conf6
1 files changed, 5 insertions, 1 deletions
diff --git a/example/hyprland.conf b/example/hyprland.conf
index 4adc2d40..3478bcff 100644
--- a/example/hyprland.conf
+++ b/example/hyprland.conf
@@ -255,4 +255,8 @@ bindl = , XF86AudioPrev, exec, playerctl previous
# Example windowrule v2
# windowrulev2 = float,class:^(kitty)$,title:^(kitty)$
-windowrulev2 = suppressevent maximize, class:.* # You'll probably like this.
+# Ignore maximize requests from apps. You'll probably like this.
+windowrulev2 = suppressevent maximize, class:.*
+
+# Fix some dragging issues with XWayland
+windowrulev2 = nofocus,class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned:0