Store scratchpad list in sway_root instead of server

This commit is contained in:
Ryan Dwyer 2018-07-22 22:28:20 +10:00
parent 81e8f31cc6
commit 12e90fa600
7 changed files with 18 additions and 18 deletions

View file

@ -42,6 +42,7 @@ void layout_init(void) {
wl_list_init(&root_container.sway_root->xwayland_unmanaged);
wl_list_init(&root_container.sway_root->drag_icons);
wl_signal_init(&root_container.sway_root->events.new_container);
root_container.sway_root->scratchpad = create_list();
root_container.sway_root->output_layout_change.notify =
output_layout_handle_change;