This commit is contained in:
John Lindgren 2026-03-15 14:28:27 +01:00 committed by GitHub
commit 0e81b071c5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 147 additions and 14 deletions

View file

@ -114,7 +114,7 @@ struct ssd {
struct wlr_scene_tree *tree;
struct ssd_border_subtree {
struct wlr_scene_tree *tree;
struct wlr_scene_rect *top, *bottom, *left, *right;
struct wlr_scene_buffer *top, *bottom, *left, *right;
} subtrees[2]; /* indexed by enum ssd_active_state */
} border;

View file

@ -14,6 +14,11 @@
struct lab_img;
/* XXX: using fixed border widths for now */
/* (top is narrower to blend with titlebar) */
#define BORDER_PX_TOP 2
#define BORDER_PX_SIDE 4
/*
* Openbox defines 7 types of Gradient background in addition to Solid.
* Currently, labwc supports only Vertical and SplitVertical.