mirror of
https://github.com/hyprwm/hyprland-wiki.git
synced 2025-05-12 21:20:37 +01:00
Configuring/{Variables,Binds}: correct input:drag_threshold to binds:drag_threshold (#1046)
Some checks are pending
Update Website / notify-parent-repo (push) Waiting to run
Some checks are pending
Update Website / notify-parent-repo (push) Waiting to run
Co-authored-by: alaricljs <me@mooluv.com> Co-authored-by: Leeman <lstrout@enlj.com>
This commit is contained in:
parent
ea28bfbe65
commit
07e34579d2
2 changed files with 5 additions and 5 deletions
|
@ -203,8 +203,8 @@ Flags:
|
|||
```plain
|
||||
l -> locked, will also work when an input inhibitor (e.g. a lockscreen) is active.
|
||||
r -> release, will trigger on release of a key.
|
||||
c -> click, will trigger on release of a key or button as long as the mouse cursor stays inside input:drag_threshold.
|
||||
g -> drag, will trigger on release of a key or button as long as the mouse cursor moves outside input:drag_threshold.
|
||||
c -> click, will trigger on release of a key or button as long as the mouse cursor stays inside binds:drag_threshold.
|
||||
g -> drag, will trigger on release of a key or button as long as the mouse cursor moves outside binds:drag_threshold.
|
||||
o -> longPress, will trigger on long press of a key.
|
||||
e -> repeat, will repeat when held.
|
||||
n -> non-consuming, key/mouse events will be passed to the active window in addition to triggering the dispatcher.
|
||||
|
@ -239,10 +239,10 @@ bind = SUPER, XF86AudioNext, exec, playerctl position +5
|
|||
## Mouse Binds
|
||||
|
||||
Mouse binds are binds that rely on mouse movement. They will have one less arg.
|
||||
`input:drag_threshold` can be used to differentiate between clicks and drags with the same button:
|
||||
`binds:drag_threshold` can be used to differentiate between clicks and drags with the same button:
|
||||
|
||||
```ini
|
||||
input {
|
||||
binds {
|
||||
drag_threshold = 10
|
||||
}
|
||||
bindm = ALT, mouse:272, movewindow
|
||||
|
|
|
@ -214,7 +214,6 @@ _[More about Animations](../Animations)._
|
|||
| special_fallthrough | if enabled, having only floating windows in the special workspace will not block focusing windows in the regular workspace. | bool | false |
|
||||
| off_window_axis_events | Handles axis events around (gaps/border for tiled, dragarea/border for floated) a focused window. `0` ignores axis events `1` sends out-of-bound coordinates `2` fakes pointer coordinates to the closest point inside the window `3` warps the cursor to the closest point inside the window | int | 1 |
|
||||
| emulate_discrete_scroll | Emulates discrete scrolling from high resolution scrolling events. `0` disables it, `1` enables handling of non-standard events only, and `2` force enables all scroll wheel events to be handled | int | 1 |
|
||||
| drag_threshold | Movement threshold in pixels for window dragging and c/g bind flags. 0 to disable and grab on mousedown. | int | 0 |
|
||||
|
||||
{{< callout type=info >}}
|
||||
|
||||
|
@ -440,6 +439,7 @@ _Subcategory `group:groupbar:`_
|
|||
| disable_keybind_grabbing | If enabled, apps that request keybinds to be disabled (e.g. VMs) will not be able to do so. | bool | false |
|
||||
| window_direction_monitor_fallback | If enabled, moving a window or focus over the edge of a monitor with a direction will move it to the next monitor in that direction. | bool | true |
|
||||
| allow_pin_fullscreen | If enabled, Allow fullscreen to pinned windows, and restore their pinned status afterwards | bool | false |
|
||||
| drag_threshold | Movement threshold in pixels for window dragging and c/g bind flags. 0 to disable and grab on mousedown. | int | 0 |
|
||||
|
||||
### XWayland
|
||||
|
||||
|
|
Loading…
Reference in a new issue