mirror of
https://github.com/labwc/labwc.git
synced 2026-02-10 04:27:47 -05:00
ssd: fix resizing on border corners and add <resize><cornerRange>
Eliminate corner extents and instead use cursor position to map SSD borders and extents to corner contexts, with a size configurable by the <resize><cornerRange> parameter. This simplifies extent handling, eliminates bugs in the detection of corner context, and allows users to expand corner targets if they wish. Co-authored-by: Andrew J. Hesford <ajh@sideband.org>
This commit is contained in:
parent
9ad6e3c68c
commit
950337b895
9 changed files with 102 additions and 60 deletions
|
|
@ -576,6 +576,13 @@ extending outward from the snapped edge.
|
|||
outlined rectangle is shown to indicate the geometry of resized window.
|
||||
Default is yes.
|
||||
|
||||
*<resize><cornerRange>*
|
||||
The size of corner regions to which the 'TLCorner', 'TRCorner',
|
||||
'BLCorner' and 'RLCorner' mousebind contexts apply, as well as the size
|
||||
of the border region for which mouse resizing will apply both
|
||||
horizontally and vertically rather than one or the other. Default is
|
||||
half the titlebar height.
|
||||
|
||||
## KEYBOARD
|
||||
|
||||
*<keyboard><numlock>* [on|off]
|
||||
|
|
|
|||
|
|
@ -131,6 +131,7 @@
|
|||
<popupShow>Never</popupShow>
|
||||
<!-- Let client redraw its contents while resizing -->
|
||||
<drawContents>yes</drawContents>
|
||||
<cornerRange>8</cornerRange>
|
||||
</resize>
|
||||
|
||||
<focus>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue