Skip to content

Commit

Permalink
Merge branch 'wlroots-next' of github:djpohly/dwl into wlroots-next
Browse files Browse the repository at this point in the history
  • Loading branch information
djpohly committed Dec 16, 2021
2 parents 40e45a3 + d3efb0b commit 852fe81
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions dwl.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 852fe81

Please sign in to comment.