mirror of
https://github.com/labwc/labwc.git
synced 2026-02-15 22:05:25 -05:00
resistance: add window-edge resistance for interactive moves/resizes
This commit is contained in:
parent
f73e9ded1c
commit
57ea197e6c
6 changed files with 199 additions and 138 deletions
|
|
@ -197,9 +197,14 @@ this is for compatibility with Openbox.
|
|||
## RESISTANCE
|
||||
|
||||
*<resistance><screenEdgeStrength>*
|
||||
Screen Edge Strength is how far past the screen's edge your cursor must
|
||||
move before the window will move with it. Resistance is counted in
|
||||
pixels. Default is 20 pixels.
|
||||
Screen-edge strength is the distance, in pixels, past the edge of a
|
||||
screen the cursor must move before an interactive move or resize of a
|
||||
window will continue past the edge. Default is 20 pixels.
|
||||
|
||||
*<resistance><windowEdgeStrength>*
|
||||
Window-edge strength is the distance, in pixels, past the edge of any
|
||||
other window the cursor must move before an interactive move or resize
|
||||
of a window will continue past the edge. Default is 20 pixels.
|
||||
|
||||
## FOCUS
|
||||
|
||||
|
|
|
|||
|
|
@ -66,6 +66,7 @@
|
|||
<!-- edge strength is in pixels -->
|
||||
<resistance>
|
||||
<screenEdgeStrength>20</screenEdgeStrength>
|
||||
<windowEdgeStrength>20</windowEdgeStrength>
|
||||
</resistance>
|
||||
|
||||
<!-- Show a simple resize and move indicator -->
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue