diff options
author | 2019-03-18 20:52:56 +1000 | |
---|---|---|
committer | 2019-03-18 11:29:19 -0400 | |
commit | e9a476244df7a8886fc6fc6785251198ed76e601 (patch) | |
tree | 377c048bbee8a63a9da69e3caa31e3ea405246be /sway/desktop | |
parent | Document the title_format command (diff) | |
download | sway-e9a476244df7a8886fc6fc6785251198ed76e601.tar.gz sway-e9a476244df7a8886fc6fc6785251198ed76e601.tar.zst sway-e9a476244df7a8886fc6fc6785251198ed76e601.zip |
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 @@ | |||
16 | #include "log.h" | 16 | #include "log.h" |
17 | #include "config.h" | 17 | #include "config.h" |
18 | #include "sway/config.h" | 18 | #include "sway/config.h" |
19 | #include "sway/debug.h" | ||
20 | #include "sway/input/input-manager.h" | 19 | #include "sway/input/input-manager.h" |
21 | #include "sway/input/seat.h" | 20 | #include "sway/input/seat.h" |
22 | #include "sway/layers.h" | 21 | #include "sway/layers.h" |
@@ -1075,12 +1074,6 @@ render_overlay: | |||
1075 | render_drag_icons(output, damage, &root->drag_icons); | 1074 | render_drag_icons(output, damage, &root->drag_icons); |
1076 | 1075 | ||
1077 | renderer_end: | 1076 | renderer_end: |
1078 | if (debug.render_tree) { | ||
1079 | wlr_renderer_scissor(renderer, NULL); | ||
1080 | wlr_render_texture(renderer, root->debug_tree, | ||
1081 | wlr_output->transform_matrix, 0, 40, 1); | ||
1082 | } | ||
1083 | |||
1084 | wlr_renderer_scissor(renderer, NULL); | 1077 | wlr_renderer_scissor(renderer, NULL); |
1085 | wlr_output_render_software_cursors(wlr_output, damage); | 1078 | wlr_output_render_software_cursors(wlr_output, damage); |
1086 | wlr_renderer_end(renderer); | 1079 | 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 @@ | |||
5 | #include <time.h> | 5 | #include <time.h> |
6 | #include <wlr/types/wlr_buffer.h> | 6 | #include <wlr/types/wlr_buffer.h> |
7 | #include "sway/config.h" | 7 | #include "sway/config.h" |
8 | #include "sway/debug.h" | ||
9 | #include "sway/desktop.h" | 8 | #include "sway/desktop.h" |
10 | #include "sway/desktop/idle_inhibit_v1.h" | 9 | #include "sway/desktop/idle_inhibit_v1.h" |
11 | #include "sway/desktop/transaction.h" | 10 | #include "sway/desktop/transaction.h" |
@@ -465,11 +464,6 @@ static void transaction_commit(struct sway_transaction *transaction) { | |||
465 | transaction->num_waiting = 0; | 464 | transaction->num_waiting = 0; |
466 | } | 465 | } |
467 | } | 466 | } |
468 | |||
469 | // The debug tree shows the pending/live tree. Here is a good place to | ||
470 | // update it, because we make a transaction every time we change the pending | ||
471 | // tree. | ||
472 | update_debug_tree(); | ||
473 | } | 467 | } |
474 | 468 | ||
475 | static void set_instruction_ready( | 469 | static void set_instruction_ready( |