From 3d7333828618283cf683ef6843535ea5896cea4f Mon Sep 17 00:00:00 2001 From: ParaN3xus <136563585+ParaN3xus@users.noreply.github.com> Date: Wed, 21 Aug 2024 18:24:57 +0800 Subject: [PATCH] docs: docs for Hyprland/pull/7368 (focus_on_close) (#753) --- pages/Configuring/Variables.md | 1 + 1 file changed, 1 insertion(+) diff --git a/pages/Configuring/Variables.md b/pages/Configuring/Variables.md index ede3c26..18b846c 100644 --- a/pages/Configuring/Variables.md +++ b/pages/Configuring/Variables.md @@ -192,6 +192,7 @@ _[More about Animations](../Animations)._ | scroll_factor | Multiplier added to scroll movement for external mice. Note that there is a separate setting for [touchpad scroll_factor](#touchpad). | float | 1.0 | | natural_scroll | Inverts scrolling direction. When enabled, scrolling moves content directly, rather than manipulating a scrollbar. | bool | false | | follow_mouse | Specify if and how cursor movement should affect window focus. See the note below. [0/1/2/3] | int | 1 | +| focus_on_close | Controls the window focus behavior when a window is closed. When set to 0, focus will shift to the next window candidate. When set to 1, focus will shift to the window under the cursor. [0/1] | int | 0 | | mouse_refocus | If disabled, mouse focus won't switch to the hovered window unless the mouse crosses a window boundary when `follow_mouse=1`. | bool | true | | float_switch_override_focus | If enabled (1 or 2), focus will change to the window under the cursor when changing from tiled-to-floating and vice versa. If 2, focus will also follow mouse on float-to-float switches. | int | 1 | | special_fallthrough | if enabled, having only floating windows in the special workspace will not block focusing windows in the regular workspace. | bool | false |