From 9165c6b706cbabf67b14a756dac5320b424d3f91 Mon Sep 17 00:00:00 2001 From: Woozepao <121386768+wooze-pao@users.noreply.github.com> Date: Sun, 12 Oct 2025 02:34:31 -0500 Subject: [PATCH] Fix Jetbrain IDEs lose focus/rerendering problem (#2179) --- .config/hypr/hyprland/rules.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.config/hypr/hyprland/rules.conf b/.config/hypr/hyprland/rules.conf index 0589edb85..e4283b4cb 100644 --- a/.config/hypr/hyprland/rules.conf +++ b/.config/hypr/hyprland/rules.conf @@ -74,6 +74,9 @@ windowrulev2 = immediate, title:.*\.exe windowrulev2 = immediate, title:.*minecraft.* windowrulev2 = immediate, class:^(steam_app).* +# Fix Jetbrain IDEs focus/rerendering problem +windowrulev2=noinitialfocus,class:^jetbrains-.*$,floating:1,title:^$|^\s$|^win\d+$ + # No shadow for tiled windows (matches windows that are not floating). windowrulev2 = noshadow, floating:0