Merge commit 'refs/pull/162/head' of github:djpohly/dwl into scenegraph3

main
Devin J. Pohly 2021-12-16 10:59:13 -06:00
commit 2315462f96
1 changed files with 2 additions and 2 deletions

4
dwl.c
View File

@ -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,7 +922,7 @@ 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;