diff options
-rw-r--r-- | sway/tree/layout.c | 2 | ||||
-rw-r--r-- | swaybar/i3bar.c | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/sway/tree/layout.c b/sway/tree/layout.c index 7ffc2484..12af7172 100644 --- a/sway/tree/layout.c +++ b/sway/tree/layout.c | |||
@@ -150,8 +150,8 @@ void container_add_child(struct sway_container *parent, | |||
150 | parent, parent->type, parent->width, parent->height); | 150 | parent, parent->type, parent->width, parent->height); |
151 | struct sway_container *old_parent = child->parent; | 151 | struct sway_container *old_parent = child->parent; |
152 | list_add(parent->children, child); | 152 | list_add(parent->children, child); |
153 | container_handle_fullscreen_reparent(child, old_parent); | ||
154 | child->parent = parent; | 153 | child->parent = parent; |
154 | container_handle_fullscreen_reparent(child, old_parent); | ||
155 | } | 155 | } |
156 | 156 | ||
157 | struct sway_container *container_remove_child(struct sway_container *child) { | 157 | struct sway_container *container_remove_child(struct sway_container *child) { |
diff --git a/swaybar/i3bar.c b/swaybar/i3bar.c index 923ad755..dced13d2 100644 --- a/swaybar/i3bar.c +++ b/swaybar/i3bar.c | |||
@@ -104,6 +104,7 @@ static bool i3bar_parse_json(struct status_line *status, const char *text) { | |||
104 | json_object_get_int(border_right) : 1; | 104 | json_object_get_int(border_right) : 1; |
105 | wl_list_insert(&status->blocks, &block->link); | 105 | wl_list_insert(&status->blocks, &block->link); |
106 | } | 106 | } |
107 | json_object_put(results); | ||
107 | return true; | 108 | return true; |
108 | } | 109 | } |
109 | 110 | ||