]> git.sur5r.net Git - i3/i3/commit
Suppress no_focus for first window on a workspace.
authorIngo Bürk <ingo.buerk@tngtech.com>
Mon, 12 Oct 2015 10:56:19 +0000 (12:56 +0200)
committerMichael Stapelberg <michael@stapelberg.de>
Wed, 28 Oct 2015 20:55:00 +0000 (21:55 +0100)
commitbfd9960df254c5bc29d1f7fd42298ec857c8484f
tree7946fd8ef6b4aa73f1cf30de181ea58fd9ec1df0
parent94bdf607bb54b57729a4a4453c94fb11054b6330
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