mirror of
https://github.com/swaywm/sway.git
synced 2026-04-20 06:47:03 -04:00
Merge 3a942f565d into f9945d81fb
This commit is contained in:
commit
959389291c
1 changed files with 0 additions and 3 deletions
|
|
@ -269,9 +269,6 @@ static void handle_surface_commit(struct wl_listener *listener, void *data) {
|
||||||
wl_container_of(listener, surface, surface_commit);
|
wl_container_of(listener, surface, surface_commit);
|
||||||
|
|
||||||
struct wlr_layer_surface_v1 *layer_surface = surface->layer_surface;
|
struct wlr_layer_surface_v1 *layer_surface = surface->layer_surface;
|
||||||
if (!layer_surface->initialized) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
uint32_t committed = layer_surface->current.committed;
|
uint32_t committed = layer_surface->current.committed;
|
||||||
if (committed & WLR_LAYER_SURFACE_V1_STATE_LAYER) {
|
if (committed & WLR_LAYER_SURFACE_V1_STATE_LAYER) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue