mirror of
https://github.com/swaywm/sway.git
synced 2025-11-17 06:59:48 -05:00
Add debug tree view
This commit is contained in:
parent
a06052ad9d
commit
603e0e42c5
8 changed files with 145 additions and 2 deletions
|
|
@ -294,6 +294,11 @@ static void render_output(struct sway_output *output, struct timespec *when,
|
|||
&output->layers[ZWLR_LAYER_SHELL_V1_LAYER_OVERLAY]);
|
||||
|
||||
renderer_end:
|
||||
if (root_container.sway_root->debug_tree) {
|
||||
wlr_render_texture(renderer, root_container.sway_root->debug_tree,
|
||||
wlr_output->transform_matrix, 0, 0, 1);
|
||||
}
|
||||
|
||||
wlr_renderer_end(renderer);
|
||||
if (!wlr_output_damage_swap_buffers(output->damage, when, damage)) {
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue