mirror of
https://github.com/labwc/labwc.git
synced 2026-04-08 08:21:09 -04:00
xdg: center small fullscreen views and add black background fill
This commit is contained in:
parent
4b0c339241
commit
e1a4892fd0
3 changed files with 79 additions and 1 deletions
|
|
@ -293,6 +293,9 @@ struct xdg_toplevel_view {
|
|||
struct view base;
|
||||
struct wlr_xdg_surface *xdg_surface;
|
||||
|
||||
/* Optional black background fill behind fullscreen view */
|
||||
struct wlr_scene_rect *fullscreen_bg;
|
||||
|
||||
/* 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