mirror of
https://github.com/labwc/labwc.git
synced 2026-04-07 08:21:20 -04:00
Add support for toplevel capture
This commit is contained in:
parent
918c3290fc
commit
f1ac8f6008
6 changed files with 52 additions and 0 deletions
|
|
@ -168,6 +168,9 @@ struct view {
|
|||
struct wlr_scene_tree *scene_tree;
|
||||
struct wlr_scene_tree *content_tree; /* may be NULL for unmapped view */
|
||||
|
||||
struct wlr_scene *image_capture_scene;
|
||||
struct wlr_ext_image_capture_source_v1 *image_capture_source;
|
||||
|
||||
/* These are never NULL and an empty string is set instead. */
|
||||
char *title;
|
||||
char *app_id; /* WM_CLASS for xwayland windows */
|
||||
|
|
@ -300,6 +303,8 @@ struct xdg_toplevel_view {
|
|||
/* Optional black background fill behind fullscreen view */
|
||||
struct wlr_scene_rect *fullscreen_bg;
|
||||
|
||||
struct wlr_scene_tree *image_capture_tree;
|
||||
|
||||
/* Events unique to xdg-toplevel views */
|
||||
struct wl_listener set_app_id;
|
||||
struct wl_listener request_show_window_menu;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue