fix: xdg surface handle pending configure + dont update usable area when new layer surface firt create

This commit is contained in:
DL
2025-07-03 14:58:20 +02:00
parent c1393a1366
commit ea98928849
4 changed files with 23 additions and 5 deletions

View File

@@ -352,7 +352,7 @@ void diyac_new_layer_surface(struct wl_listener *listener, void *data)
*/
struct wlr_layer_surface_v1_state old_state = layer_surface->current;
layer_surface->current = layer_surface->pending;
diyac_output_update_usable_area(output);
// diyac_output_update_usable_area(output);
layer_surface->current = old_state;
}