~ruther/dwl

852fe819c4a0e516135d1bfdd91de3cf60cb495d — Devin J. Pohly 3 years ago 40e45a3 + d3efb0b
Merge branch 'wlroots-next' of github:djpohly/dwl into wlroots-next
1 files changed, 3 insertions(+), 3 deletions(-)

M dwl.c
M dwl.c => dwl.c +3 -3
@@ 930,13 930,13 @@ createlayersurface(struct wl_listener *listener, void *data)
	wlr_layer_surface->data = layersurface;

	m = wlr_layer_surface->output->data;
	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;
}

Do not follow this link