swayfx/sway/tree
Brian Ashworth f0f20f96aa root_scratchpad_hide: fix crash when layer focused
This fixes a crash in `root_scratchpad_hide` when a layer surface is
focused. Since `seat_get_focus` is NULL when a layer surface is
focused, the call to `node_has_ancestor` was causing a SIGSEGV since it
was attempting to access the parent of NULL. This changes the call to
`seat_get_focus_inactive`, which will return a node even when a layer
surface is focused and is also guaranteed to have something in the
focus stack if a scratchpad container is being hidden (otherwise there
would not be any containers yet).
2019-04-03 19:45:17 +03:00
..
arrange.c Stop using wlr_output->{lx,ly} 2019-03-11 12:43:01 -04:00
container.c scratchpad: set initial size 2019-03-31 17:49:05 -06:00
node.c ipc: handle NULL cases for node_get_output 2018-09-15 09:42:49 +01:00
output.c Fix xwayland configure request scratchpad crash 2019-03-31 09:32:23 +03:00
root.c root_scratchpad_hide: fix crash when layer focused 2019-04-03 19:45:17 +03:00
view.c sway_view_child: add listener for view unmap 2019-03-11 10:02:52 +01:00
workspace.c Set prev_workspace_name based off of focus 2019-03-14 10:03:45 -06:00