aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDevin J. Pohly <djpohly@gmail.com>2021-12-16 11:48:43 -0600
committerDevin J. Pohly <djpohly@gmail.com>2021-12-16 11:48:43 -0600
commit852fe819c4a0e516135d1bfdd91de3cf60cb495d (patch)
treed352b4c2d183914887a3fba3896c2e4a9f8d5233
parent40e45a336a2cef9fe76a5144f7da6ffa54110081 (diff)
parentd3efb0b29bda112e61ce0cf81bb596aca97e0ee6 (diff)
Merge branch 'wlroots-next' of github:djpohly/dwl into wlroots-next
-rw-r--r--dwl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/dwl.c b/dwl.c
index c4ca60f..5a525d5 100644
--- a/dwl.c
+++ b/dwl.c
@@ -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;
}