]> git.sur5r.net Git - i3/i3/commit - testcases/t/242-no-focus.t
Suppress no_focus for first window on a workspace. 1991/head
authorIngo Bürk <ingo.buerk@tngtech.com>
Mon, 12 Oct 2015 10:56:19 +0000 (12:56 +0200)
committerIngo Bürk <ingo.buerk@tngtech.com>
Mon, 12 Oct 2015 10:59:01 +0000 (12:59 +0200)
commitf7907c11d702fe5cc658f6aec0fdd4c2d1074cdb
treee7ce1f32af51bb5075150ed95d8706ceacbc8106
parentd24964ff6ab582879b4e82411b05e30f493852a8
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
docs/userguide
src/manage.c
testcases/t/242-no-focus.t