diff options
| author | Adam Malczewski <[email protected]> | 2026-06-13 17:31:27 +0900 |
|---|---|---|
| committer | Adam Malczewski <[email protected]> | 2026-06-13 17:31:27 +0900 |
| commit | 55588c486d8b407130e76fc7ebbb32a0368931bc (patch) | |
| tree | 04c04f8adcdb807f062b5a61c8fe74b64b09c937 /packages/kernel/src/server.cpp | |
| parent | c1dbe7494fb88ceb59bc26914e47ef38eba1cf9e (diff) | |
| download | unbox-55588c486d8b407130e76fc7ebbb32a0368931bc.tar.gz unbox-55588c486d8b407130e76fc7ebbb32a0368931bc.zip | |
Slice 10 b1: ext-xdg-shell Toplevel minimize mechanism
Neutral compositor-side mechanism the stage dock drives to minimize a window
(the "minimized" state/policy stays in ext-stage-dock). Adds to Toplevel:
geometry() -> wlr_box (size the preview + restore position), scene_tree() ->
wlr_scene_tree* (feed UiSubstrate::create_preview + the node hide/show toggles),
and hide()/show() — disable/enable the scene node so the client stops compositing
and frame callbacks WITHOUT unmapping (no on_toplevel_unmapped, no focus change),
idempotent. Verified against wlroots 0.20 that a disabled node quiesces frames.
A real in-process wayland client test (test_minimize.cpp) drives it on the
headless backend.
ext-xdg-shell suite green on build + build-asan. Edits confined to packages/ext-xdg-shell/.
Diffstat (limited to 'packages/kernel/src/server.cpp')
0 files changed, 0 insertions, 0 deletions
