]> git.mdlowis.com Git - proto/labwc.git/commit
cycle: use dummy node to remember the scene position of previewed window
authortokyo4j <hrak1529@gmail.com>
Sun, 30 Nov 2025 11:05:42 +0000 (20:05 +0900)
committerHiroaki Yamamoto <hrak1529@gmail.com>
Sun, 30 Nov 2025 11:56:34 +0000 (20:56 +0900)
commit2b28c41b234bc1ada4f7db6cbaa0f960055e1090
tree17a29760d07513a4e6e11c13774e42bdfe1c0a87
parentc1f3286cfe3f7cd4e54715f4ce2b8b18e168f46c
cycle: use dummy node to remember the scene position of previewed window

With this approach, we only need to store cycle->dummy_node instead of
cycle->preview_anchor and cycle->preview_parent and we don't need to care
about annoying cases like when the previewed window has no siblings or
when a window tracked by cycle->preview_anchor is destroyed.
include/labwc.h
src/cycle/cycle.c