diff options
| author | Isaac Freund <mail@isaacfreund.com> | 2023-03-16 11:03:33 +0100 |
|---|---|---|
| committer | Isaac Freund <mail@isaacfreund.com> | 2023-03-16 11:03:33 +0100 |
| commit | 133b88c266d9de2b567bb551aeaa69328ab0dd80 (patch) | |
| tree | e907d1673c2a36216f694695cf8add3df2f1f30a /protocol/river-status-unstable-v1.xml | |
| parent | 50c6ae245feedbc0e8e7d1abc955f79e290d3cd9 (diff) | |
| download | river-133b88c266d9de2b567bb551aeaa69328ab0dd80.tar.gz river-133b88c266d9de2b567bb551aeaa69328ab0dd80.tar.xz | |
LayerSurface: handle focus when switching outputs
Currently if a layer surface is focused and the user focuses a different
output the layer surface remains focused. However, updating focus on
layer surface unmap only considers seats that have the layer surface's
output focused.
To fix this there are 3 approaches I see:
1. Unfocus all layer surfaces on the old output when switching output
focus, focus any layer surfaces on the new output.
2. Disallow switching output focus while a layer surface is focused.
3. Stop caring about output focus when determining which layer surface
should gain/lose focus.
I've taken the 3rd option here as it is significantly simpler to
implement and maintain but still feels reasonably intuitive.
Diffstat (limited to 'protocol/river-status-unstable-v1.xml')
0 files changed, 0 insertions, 0 deletions
