mirror of
https://github.com/swaywm/sway.git
synced 2025-11-15 06:59:50 -05:00
Add debug tree view
This commit is contained in:
parent
a06052ad9d
commit
603e0e42c5
8 changed files with 145 additions and 2 deletions
|
|
@ -5,6 +5,7 @@
|
|||
#include <wlr/types/wlr_cursor.h>
|
||||
#include <wlr/types/wlr_output_layout.h>
|
||||
#include <wlr/types/wlr_xcursor_manager.h>
|
||||
#include "sway/debug.h"
|
||||
#include "sway/tree/container.h"
|
||||
#include "sway/tree/workspace.h"
|
||||
#include "sway/input/seat.h"
|
||||
|
|
@ -432,6 +433,8 @@ void seat_set_focus_warp(struct sway_seat *seat,
|
|||
}
|
||||
|
||||
seat->has_focus = (container != NULL);
|
||||
|
||||
update_debug_tree();
|
||||
}
|
||||
|
||||
void seat_set_focus(struct sway_seat *seat,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue