mirror of
https://github.com/labwc/labwc.git
synced 2026-04-10 08:21:07 -04:00
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]">.
This commit is contained in:
parent
6b9f1b8c58
commit
4f5302e879
14 changed files with 147 additions and 89 deletions
|
|
@ -145,6 +145,7 @@ struct rcxml {
|
|||
|
||||
/* window snapping */
|
||||
int snap_edge_range;
|
||||
int snap_edge_corner_range;
|
||||
bool snap_overlay_enabled;
|
||||
int snap_overlay_delay_inner;
|
||||
int snap_overlay_delay_outer;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue