Implement context-sensitive tab-clicking behavior

This commit makes it so that when clicking on a tab for the first time,
its inactive-focused child is focused. This matches i3 behavior when
scrolling on tabs.

A second click on the tab titlebar focuses the tab container itself.

Subsequent clicks cycle between these two states.

Closes #4225.
This commit is contained in:
Tudor Brindus
2020-10-25 22:20:25 -04:00
parent b2af112a04
commit f2ec5a4e77
2 changed files with 15 additions and 2 deletions

View File

@ -13,6 +13,7 @@ strongly encouraged to upgrade.
• i3-nagbar: position on focused monitor by default
• i3-nagbar: add option to position on primary monitor
• alternate focusing tab/stack children-parent containers by clicking on their titlebars
┌────────────────────────────┐
│ Bugfixes │