Suppress no_focus for first window on a workspace.
With this patch, the no_focus directive will be ignored if the to-be-opened window is the first on its workspace as there's no reason the user would not want to focus it in this case. This improves usability when, for example, using a tabbed workspace_layout. fixes #1987
This commit is contained in:
@ -610,6 +610,10 @@ Note that this does not apply to all cases, e.g., when feeding data into a runni
|
||||
causing it to request being focused. To configure the behavior in such cases, refer to
|
||||
<<focus_on_window_activation>>.
|
||||
|
||||
+no_focus+ will also be ignored for the first window on a workspace as there shouldn't be
|
||||
a reason to not focus the window in this case. This allows for better usability in
|
||||
combination with +workspace_layout+.
|
||||
|
||||
*Syntax*:
|
||||
-------------------
|
||||
no_focus <criteria>
|
||||
|
Reference in New Issue
Block a user