mirror of
https://github.com/labwc/labwc.git
synced 2025-11-04 13:30:07 -05:00
Add debug_dump_scene()
Dump view_tree and osd_tree on calling debug-action. Example bind: <keybind key="A-F12"> <action name="Debug"></action> </keybind>
This commit is contained in:
parent
532656ad5b
commit
5934ed6682
5 changed files with 69 additions and 1 deletions
|
|
@ -3,6 +3,7 @@
|
|||
#include <wlr/util/log.h>
|
||||
#include "common/spawn.h"
|
||||
#include "common/zfree.h"
|
||||
#include "debug.h"
|
||||
#include "labwc.h"
|
||||
#include "menu/menu.h"
|
||||
#include "ssd.h"
|
||||
|
|
@ -161,7 +162,7 @@ action(struct view *activator, struct server *server, struct wl_list *actions, u
|
|||
}
|
||||
break;
|
||||
case ACTION_TYPE_DEBUG:
|
||||
/* nothing */
|
||||
debug_dump_scene(server);
|
||||
break;
|
||||
case ACTION_TYPE_EXECUTE:
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue