fix: xdg surface handle pending configure + dont update usable area when new layer surface firt create
This commit is contained in:
2
layer.c
2
layer.c
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user