diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-04-06 11:49:27 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2018-04-06 11:49:27 -0400 |
commit | 603e0e42c577026f1c688c393989e65dc3482808 (patch) | |
tree | 7e2635f8745ed6141f900359eeff9b8d9f418cea /sway/input | |
parent | Fix splitting workspaces (diff) | |
download | sway-603e0e42c577026f1c688c393989e65dc3482808.tar.gz sway-603e0e42c577026f1c688c393989e65dc3482808.tar.zst sway-603e0e42c577026f1c688c393989e65dc3482808.zip |
Add debug tree view
Diffstat (limited to 'sway/input')
-rw-r--r-- | sway/input/seat.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sway/input/seat.c b/sway/input/seat.c index ad3584a0..e8cf9824 100644 --- a/sway/input/seat.c +++ b/sway/input/seat.c | |||
@@ -5,6 +5,7 @@ | |||
5 | #include <wlr/types/wlr_cursor.h> | 5 | #include <wlr/types/wlr_cursor.h> |
6 | #include <wlr/types/wlr_output_layout.h> | 6 | #include <wlr/types/wlr_output_layout.h> |
7 | #include <wlr/types/wlr_xcursor_manager.h> | 7 | #include <wlr/types/wlr_xcursor_manager.h> |
8 | #include "sway/debug.h" | ||
8 | #include "sway/tree/container.h" | 9 | #include "sway/tree/container.h" |
9 | #include "sway/tree/workspace.h" | 10 | #include "sway/tree/workspace.h" |
10 | #include "sway/input/seat.h" | 11 | #include "sway/input/seat.h" |
@@ -432,6 +433,8 @@ void seat_set_focus_warp(struct sway_seat *seat, | |||
432 | } | 433 | } |
433 | 434 | ||
434 | seat->has_focus = (container != NULL); | 435 | seat->has_focus = (container != NULL); |
436 | |||
437 | update_debug_tree(); | ||
435 | } | 438 | } |
436 | 439 | ||
437 | void seat_set_focus(struct sway_seat *seat, | 440 | void seat_set_focus(struct sway_seat *seat, |