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
parent 4b0c339241
commit e1a4892fd0
3 changed files with 79 additions and 1 deletions

View file

@ -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;