aboutsummaryrefslogtreecommitdiff
path: root/.build.yml
diff options
context:
space:
mode:
authorRyan Dwyer <ryandwyer1@gmail.com>2018-10-04 19:23:04 +1000
committerRyan Dwyer <ryandwyer1@gmail.com>2018-10-04 19:36:19 +1000
commit32cb631143fe9087d9d14e96f42a38f602369212 (patch)
tree1f7e9fcb9858e02b3d97e5a8cf78f54829954e2b /.build.yml
parent681ed1826ddb8e05daf0ab30575f4b1f8cd23239 (diff)
Give focus to another swaylock surface when output is disconnected
* Have multiple outputs * Launch swaylock * Unplug an output (possibly has to be the last "connected" one) * The swaylock surface on the remaining output would not respond to key events This was happening because when the output destroys, focus was not given to the other swaylock surface. This patch makes focus be transferred to another surface owned by the same Wayland client, but only if input was inhibited by the surface being destroyed, and only if it's in the overlay layer. I figure it's best to be overly specific and relax the requirements later if needed. This patch removes a check in seat_set_focus_surface which was preventing focus from being passed from a layer surface to any other surface. I don't know of a use case for this check, but it's possible that this change could produce issues.
Diffstat (limited to '.build.yml')
0 files changed, 0 insertions, 0 deletions