mirror of
https://github.com/labwc/labwc.git
synced 2025-11-03 09:01:51 -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
9
include/debug.h
Normal file
9
include/debug.h
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
#ifndef __DEBUG_H
|
||||
#define __DEBUG_H
|
||||
|
||||
struct server;
|
||||
|
||||
void debug_dump_scene(struct server *server);
|
||||
|
||||
#endif /* __DEBUG_H */
|
||||
|
|
@ -173,6 +173,7 @@ struct server {
|
|||
struct view *cycle_view;
|
||||
|
||||
struct theme *theme;
|
||||
|
||||
struct menu *rootmenu;
|
||||
struct menu *windowmenu;
|
||||
};
|
||||
|
|
@ -476,6 +477,7 @@ void server_start(struct server *server);
|
|||
void server_finish(struct server *server);
|
||||
|
||||
/* update onscreen display 'alt-tab' buffer */
|
||||
void osd_finish(struct server *server);
|
||||
void osd_update(struct server *server);
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue