aboutsummaryrefslogtreecommitdiff
path: root/src/layout
diff options
context:
space:
mode:
authorIvan Molodetskikh <yalterz@gmail.com>2024-11-22 07:52:53 +0300
committerIvan Molodetskikh <yalterz@gmail.com>2024-11-22 09:37:26 +0300
commitc239937fac836f308311eff5f5d5fc5262c6eb55 (patch)
tree21c9ea1a03c469e5539a2efbec38145c59f573aa /src/layout
parentbafa574784297561815d7f6320df6b008d735896 (diff)
downloadniri-c239937fac836f308311eff5f5d5fc5262c6eb55.tar.gz
niri-c239937fac836f308311eff5f5d5fc5262c6eb55.tar.bz2
niri-c239937fac836f308311eff5f5d5fc5262c6eb55.zip
Focus target window/output on DnD
In sway, focus-follows-mouse keeps working during DnD, but not in niri. So it can be surprising when you DnD something into another app, but it doesn't get automatically focused. This commit fixes that. Even if the DnD is not validated, or if there's no target surface (e.g. dropped on the niri background), focus the target output, since that's how Firefox's drag-tab-into-new-window works for example.
Diffstat (limited to 'src/layout')
0 files changed, 0 insertions, 0 deletions