Replace multi_rect with lab_scene_rect

lab_scene_rect accepts the arbitrary number of borders and a background
color.
This commit is contained in:
tokyo4j 2025-06-09 16:27:17 +09:00 committed by Hiroaki Yamamoto
parent 4cc6b354b0
commit ffd400503e
12 changed files with 187 additions and 140 deletions

View file

@ -7,6 +7,7 @@
#include "regions.h"
#include "view.h"
/* TODO: replace this with single lab_scene_rect */
struct overlay_rect {
struct wlr_scene_tree *tree;
@ -14,7 +15,7 @@ struct overlay_rect {
struct wlr_scene_rect *bg_rect;
bool border_enabled;
struct multi_rect *border_rect;
struct lab_scene_rect *border_rect;
};
struct overlay {