]> git.mdlowis.com Git - proto/labwc.git/commit
interactive: allow snapping to corner edges
authortokyo4j <hrak1529@gmail.com>
Sat, 2 Aug 2025 12:35:51 +0000 (21:35 +0900)
committerJohan Malm <johanmalm@users.noreply.github.com>
Mon, 4 Aug 2025 20:24:12 +0000 (21:24 +0100)
commit2f183cdcb6be9e2a8926ccaa276ad6345444fe98
tree7129543867846c41d6f9a8dea1ff21a1b140a097
parentb0ff2911b6282cf965f4a74ed867a4d5f9f18bbd
interactive: allow snapping to corner edges

In addition to <snapping><range>, <snapping><cornerRange> configures the
distance from the screen corner to trigger quater window snapping.

Also, new values "up-left", "up-right", "down-left" and "down-right" are
allowed for <action name="(Toggle)SnapToEdge" direction="[value]"> and
<query tiled="[value]">.
14 files changed:
docs/labwc-actions.5.scd
docs/labwc-config.5.scd
docs/rc.xml.all
include/common/direction.h
include/config/rcxml.h
include/labwc.h
include/view.h
src/common/direction.c
src/config/rcxml.c
src/interactive.c
src/output.c
src/overlay.c
src/view.c
src/xdg.c