aboutsummaryrefslogtreecommitdiff
path: root/sway/sway-input.5.scd
diff options
context:
space:
mode:
authorBrian Ashworth <bosrsf04@gmail.com>2019-02-10 20:12:51 -0500
committeremersion <contact@emersion.fr>2019-02-11 10:13:16 +0100
commitfb4f29289fd8d1f94975e64fded6657222ed5390 (patch)
tree3500b7c5b1fe18b8dd9d5064362444bcc3f9ce6e /sway/sway-input.5.scd
parent2540e8ea792f7b2a54698aba34b3bf11161fe102 (diff)
workspace_get_initial_output: handle focused layer
When a layer surface is focused, `seat_get_focused_workspace` will be NULL. This changes `workspace_get_initial_output` to use output of the focus inactive. If the focus inactive is also NULL, then either the first output or the noop output will be used as fallbacks.
Diffstat (limited to 'sway/sway-input.5.scd')
0 files changed, 0 insertions, 0 deletions