diff options
author | Leonardo Hernandez Hernandez <leohdz172@protonmail.com> | 2021-10-26 21:24:35 -0500 |
---|---|---|
committer | Leonardo Hernandez Hernandez <leohdz172@protonmail.com> | 2021-10-26 21:24:35 -0500 |
commit | 05ac42034257bdc2c7d7f8aa59c5086adcd3975c (patch) | |
tree | 1800b599b336dc425c9f7b11598d7ec80ac9cc4d | |
parent | 7de6920bd781d77b2d8d5abb847258c6153638c7 (diff) | |
parent | 2c9423d1b7a387d63b07b96ecbda725f1e16002b (diff) |
Merge branch 'wlroots-next' into HEAD
-rw-r--r-- | dwl.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -781,7 +781,7 @@ commitnotify(struct wl_listener *listener, void *data) Client *c = wl_container_of(listener, c, commit); /* mark a pending resize as completed */ - if (c->resize && c->resize <= c->surface.xdg->configure_serial) + if (c->resize && c->resize <= c->surface.xdg->current.configure_serial) c->resize = 0; } @@ -922,17 +922,17 @@ createlayersurface(struct wl_listener *listener, void *data) m = wlr_layer_surface->output->data; layersurface->scene = wlr_scene_subsurface_tree_create( - layers[wlr_layer_surface->client_pending.layer], + layers[wlr_layer_surface->pending.layer], wlr_layer_surface->surface); layersurface->scene->data = layersurface; - wl_list_insert(&m->layers[wlr_layer_surface->client_pending.layer], + wl_list_insert(&m->layers[wlr_layer_surface->pending.layer], &layersurface->link); - // Temporarily set the layer's current state to client_pending + // Temporarily set the layer's current state to pending // so that we can easily arrange it old_state = wlr_layer_surface->current; - wlr_layer_surface->current = wlr_layer_surface->client_pending; + wlr_layer_surface->current = wlr_layer_surface->pending; arrangelayers(m); wlr_layer_surface->current = old_state; } |