aboutsummaryrefslogtreecommitdiff
path: root/src/backend
diff options
context:
space:
mode:
authorIvan Molodetskikh <yalterz@gmail.com>2023-09-24 10:08:43 +0400
committerIvan Molodetskikh <yalterz@gmail.com>2023-09-24 10:08:43 +0400
commit51df1aba019dde896d32f32d7a8b21b71064ada3 (patch)
tree152ec74f4f3261aebbc9cfc9fc82306fb446988c /src/backend
parentb3b1e082ac16a93f19be01604cd4d764f004267e (diff)
downloadniri-51df1aba019dde896d32f32d7a8b21b71064ada3.tar.gz
niri-51df1aba019dde896d32f32d7a8b21b71064ada3.tar.bz2
niri-51df1aba019dde896d32f32d7a8b21b71064ada3.zip
layout: Focus prev column when removing just created column
This works similar to tabs in Firefox: when you create a tab and then close it without focusing any other tabs, the focus returns to the previously-focused tab, rather than the usual next tab. The logic is that in this case, the new tab was likely transient, and the user wants to get right back to what they were doing. In niri's case, this also serves as a workaround for wl-clipboard spawning and destroying a window, messing up the focus.
Diffstat (limited to 'src/backend')
0 files changed, 0 insertions, 0 deletions