xdg: center small fullscreen views and add black background fill

This commit is contained in:
John Lindgren 2025-12-01 15:13:07 -05:00 committed by Hiroaki Yamamoto
parent 96617311cd
commit 7f7b5f57ec
3 changed files with 79 additions and 1 deletions

View file

@ -296,6 +296,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;