]> git.mdlowis.com Git - proto/labwc.git/commit
overlay: refactor
authortokyo4j <hrak1529@gmail.com>
Sat, 30 Aug 2025 19:41:08 +0000 (04:41 +0900)
committerJohan Malm <johanmalm@users.noreply.github.com>
Sun, 31 Aug 2025 12:24:51 +0000 (13:24 +0100)
commit66e26cd28a44b3830cc2b03bde3a25cda8df2e34
treee777d1c1275e9b7e9a4963fac3e5123f9dac27eb
parent78d47c5c377f656d7d2ed9112627a58af1897d72
overlay: refactor

- Use a single `lab_scene_rect` for both overlay background and outlines,
  like I described in the TODO comment in ffd4005.
- Simplify the resource management by destroying the overlay tree when
  it's hidden. I think its overhead is pretty minimal.
- Share a single `lab_scene_rect` for both region/edge overlays.
include/overlay.h
src/debug.c
src/interactive.c
src/output.c
src/overlay.c
src/regions.c
src/seat.c
src/workspaces.c