swayfx/sway
Rouven Czerwinski ddad41f423 Fix sway crashes for scratchpad layouts
Currently container_replace removes the container from the scratchpad
and re-adds it afterwards. For the split commands this results in the
container being send to the scratchpad, which results in a NULL segfault
if the same container should be shown.
Pass an optional workspace to root_scratchpad_add_container, if the
workspace is passed the window will continue to show on the workspace.
If NULL is passed it is sent to the scratchpad.
This was an issue if no other window except the scratchpad container was
on the workspace.

Fixes #4240
2019-06-16 12:29:16 -04:00
..
commands Fix sway crashes for scratchpad layouts 2019-06-16 12:29:16 -04:00
config config/input: validate xkb keymap before storing 2019-06-09 20:13:22 +03:00
desktop desktop: output: fix use-after-free in destroy 2019-06-02 19:36:16 +03:00
input bindings: defer while initiailizing 2019-06-12 07:56:41 +03:00
tree Fix sway crashes for scratchpad layouts 2019-06-16 12:29:16 -04:00
commands.c Fix segfaults caused by faulty command parsing 2019-06-11 14:40:36 -04:00
config.c bindings: defer while initiailizing 2019-06-12 07:56:41 +03:00
criteria.c criteria: fix __focused__ when no focus or unset 2019-03-23 09:53:23 +02:00
decoration.c Fix double free when unmapping any view 2018-11-15 15:22:09 +10:00
ipc-json.c ipc: add xkb_layout_names and xkb_active_layout_index 2019-06-09 15:04:50 -04:00
ipc-server.c Fix the payload type returned by IPC 2019-04-16 23:48:44 -04:00
main.c bindings: defer while initiailizing 2019-06-12 07:56:41 +03:00
meson.build Add a new xkb_switch_layout command 2019-06-09 15:20:14 -04:00
security.c Replace _XOPEN_SOURCE with _POSIX_C_SOURCE 2018-11-25 17:19:43 +01:00
server.c add seat sub command 'xcursor_theme' 2019-06-05 11:00:10 -04:00
sway-bar.5.scd Add swaybar protocol documentation 2019-05-30 10:54:23 -04:00
sway-input.5.scd Add missing docs for xkb_switch_layout 2019-06-10 01:41:44 -04:00
sway-ipc.7.scd Add docs for new IPC keyboard properties 2019-06-10 01:54:05 -04:00
sway-output.5.scd Implement output toggle 2019-05-14 00:11:04 -04:00
sway.1.scd Update language in sway.desktop & sway(1) 2019-03-10 15:09:52 -04:00
sway.5.scd Add missing underscore in bindswitch documentation 2019-06-14 21:23:20 -04:00
swaynag.c Spawn swaynag as a wayland client 2019-04-14 12:41:59 +03:00
xdg_decoration.c Fix xdg-decoration unconfigured if set before first commit 2019-05-03 15:37:32 -06:00