Draw beveled windowed borders, inspired by jlindgren https://github.com/labwc/labwc/pull/3382/files

This commit is contained in:
Jack Zeal 2026-03-23 20:43:26 -07:00
parent 9903331995
commit 7897807941
2 changed files with 187 additions and 18 deletions

View file

@ -115,6 +115,7 @@ struct ssd {
struct ssd_border_subtree {
struct wlr_scene_tree *tree;
struct wlr_scene_rect *top, *bottom, *left, *right;
struct wlr_scene_buffer *tlcorner, *trcorner, *blcorner, *brcorner, *ttexture, *btexture, *ltexture, *rtexture;
} subtrees[2]; /* indexed by enum ssd_active_state */
} border;