summaryrefslogtreecommitdiffstats
path: root/sway/input/cursor.c
diff options
context:
space:
mode:
authorLibravatar Brian Ashworth <bosrsf04@gmail.com>2019-02-10 20:12:51 -0500
committerLibravatar Drew DeVault <sir@cmpwn.com>2019-02-11 10:22:53 -0500
commite4e579ea3687342d06915be0df0093987e0e0314 (patch)
tree3500b7c5b1fe18b8dd9d5064362444bcc3f9ce6e /sway/input/cursor.c
parentAbort early when XDG_RUNTIME_DIR is not set (diff)
downloadsway-e4e579ea3687342d06915be0df0093987e0e0314.tar.gz
sway-e4e579ea3687342d06915be0df0093987e0e0314.tar.zst
sway-e4e579ea3687342d06915be0df0093987e0e0314.zip
workspace_get_initial_output: handle focused layer1.0-rc2
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/input/cursor.c')
0 files changed, 0 insertions, 0 deletions