opt: always arrangelayers if layer commit

This commit is contained in:
DreamMaoMao 2026-03-02 20:53:52 +08:00
parent ad754167b7
commit 46e867deb9

View file

@ -2502,9 +2502,9 @@ void commitlayersurfacenotify(struct wl_listener *listener, void *data) {
? layers[LyrTop] ? layers[LyrTop]
: scene_layer)); : scene_layer));
} }
}
arrangelayers(l->mon); arrangelayers(l->mon);
}
if (layer_surface->current.committed & if (layer_surface->current.committed &
WLR_LAYER_SURFACE_V1_STATE_KEYBOARD_INTERACTIVITY) { WLR_LAYER_SURFACE_V1_STATE_KEYBOARD_INTERACTIVITY) {