]> git.mdlowis.com Git - proto/labwc.git/commit
graphic-helper: properly handle very small multi_rects
authortokyo4j <hrak1529@gmail.com>
Sun, 4 May 2025 14:40:25 +0000 (23:40 +0900)
committerHiroaki Yamamoto <hrak1529@gmail.com>
Sun, 18 May 2025 21:51:42 +0000 (06:51 +0900)
commit6305cc0f78f1901b7ca06a271c99d0010e664906
tree2bb7d5e428720d2fc0c8d6d587ea691dfb74e990
parent93d77801c5d89f7ea58c7f816dd1292580f8e4f9
graphic-helper: properly handle very small multi_rects

For example, alacritty can be resized to 1x1 and the size of the
scene-rects inside the multi_rect for the window switcher preview could
be negative.
src/common/graphic-helpers.c