]> git.mdlowis.com Git - proto/labwc.git/commit
src/ssd: allow invisible resize area across outputs
authorConsolatis <35009135+Consolatis@users.noreply.github.com>
Wed, 31 Jan 2024 21:09:15 +0000 (22:09 +0100)
committerConsolatis <35009135+Consolatis@users.noreply.github.com>
Tue, 6 Feb 2024 16:24:21 +0000 (17:24 +0100)
commitb013cbba3a787906b2b178479ef7fb2d2470652c
treee7afd537370ae2876a6b96937823f879137fa815
parent382068e452a4bf354eb6171d243070cab825452e
src/ssd: allow invisible resize area across outputs

This uses the new `view->outputs` bitset to calculate the intersection
with *all* outputs the view is currently visible on.

This ensures that the invisible resize handle works across outputs
while still making sure that it won't leak into neighboring ones just
because it is positioned closely to an output edge (either manually,
maximized or snapped via SnapToEdge or SnapToRegion).

Co-Authored-By: @johanmalm
Fixes: #1486
Reported-By: @lurch
src/ssd/ssd_extents.c