mirror of
https://github.com/labwc/labwc.git
synced 2025-11-04 13:30:07 -05:00
Implement damage tracking
This commit is contained in:
parent
695ce28b55
commit
54804fd3df
15 changed files with 881 additions and 321 deletions
|
|
@ -258,6 +258,7 @@ surface_commit_notify(struct wl_listener *listener, void *data)
|
|||
wl_container_of(listener, layer, surface_commit);
|
||||
struct wlr_output *wlr_output = layer->layer_surface->output;
|
||||
arrange_layers(output_from_wlr_output(layer->server, wlr_output));
|
||||
damage_all_outputs(layer->server);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
@ -267,6 +268,7 @@ unmap(struct lab_layer_surface *layer)
|
|||
if (seat->focused_layer == layer->layer_surface) {
|
||||
seat_set_focus_layer(seat, NULL);
|
||||
}
|
||||
damage_all_outputs(layer->server);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue