diff options
author | Ryan Dwyer <ryandwyer1@gmail.com> | 2019-03-18 20:52:56 +1000 |
---|---|---|
committer | Brian Ashworth <bosrsf04@gmail.com> | 2019-03-18 11:29:19 -0400 |
commit | e9a476244df7a8886fc6fc6785251198ed76e601 (patch) | |
tree | 377c048bbee8a63a9da69e3caa31e3ea405246be /sway/desktop | |
parent | 38bd60c4b3e70cb5584529358162f8b37d43669f (diff) | |
download | sway-e9a476244df7a8886fc6fc6785251198ed76e601.tar.xz |
Remove debug tree
This feature has served its purpose. It's better to use IPC now.
Diffstat (limited to 'sway/desktop')
-rw-r--r-- | sway/desktop/render.c | 7 | ||||
-rw-r--r-- | sway/desktop/transaction.c | 6 |
2 files changed, 0 insertions, 13 deletions
diff --git a/sway/desktop/render.c b/sway/desktop/render.c index 9e936bb5..7216e30b 100644 --- a/sway/desktop/render.c +++ b/sway/desktop/render.c @@ -16,7 +16,6 @@ #include "log.h" #include "config.h" #include "sway/config.h" -#include "sway/debug.h" #include "sway/input/input-manager.h" #include "sway/input/seat.h" #include "sway/layers.h" @@ -1075,12 +1074,6 @@ render_overlay: render_drag_icons(output, damage, &root->drag_icons); renderer_end: - if (debug.render_tree) { - wlr_renderer_scissor(renderer, NULL); - wlr_render_texture(renderer, root->debug_tree, - wlr_output->transform_matrix, 0, 40, 1); - } - wlr_renderer_scissor(renderer, NULL); wlr_output_render_software_cursors(wlr_output, damage); wlr_renderer_end(renderer); diff --git a/sway/desktop/transaction.c b/sway/desktop/transaction.c index 4098ed22..e5f0ee3d 100644 --- a/sway/desktop/transaction.c +++ b/sway/desktop/transaction.c @@ -5,7 +5,6 @@ #include <time.h> #include <wlr/types/wlr_buffer.h> #include "sway/config.h" -#include "sway/debug.h" #include "sway/desktop.h" #include "sway/desktop/idle_inhibit_v1.h" #include "sway/desktop/transaction.h" @@ -465,11 +464,6 @@ static void transaction_commit(struct sway_transaction *transaction) { transaction->num_waiting = 0; } } - - // The debug tree shows the pending/live tree. Here is a good place to - // update it, because we make a transaction every time we change the pending - // tree. - update_debug_tree(); } static void set_instruction_ready( |