summaryrefslogtreecommitdiff
path: root/src/managers/input/InputManager.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* config: Add option to resolve keybinds by sym instead of code (#4851)Tobias Zimmermann2024-02-271-2/+9
| | | | | | | | | | | | | | This commit adds the new configuration option 'resolve_binds_by_sym' which can be set globally or per-device. It is off by default, which preserves the current behavior. This setting only affects the behavior of keybinds that are defined via key symbols, not those defined via keycode. Binds defined by symbols currently activate if the keycode pressed would generate the specified symbol on the first layout specified in the input section. If enabled, keys pressed on the relevant device will instead match keybinds by the symbols they produce with their current layout. Closes #1881.
* input: Map touch devices and tablets bound to an output (#3544)Philip Damianik2024-02-271-6/+22
| | | | | | | | | | | * Map bound touch devices and tablets to an output * Add "[[Auto]]" default option for auto detecting outputs for touch inputs * Bind new monitors to configured touch and tablet devices * Use Monitor::matchesStaticSelector in CConfigManager::getMonitorRuleFor * Use Monitor::matchesStaticSelector in CCompositor::getMonitorFromString
* Migrate the config to hyprlang (#4656)Vaxry2024-02-181-44/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Migrate to hyprlang * pop up errors * fix swapped args * Meson & Nix: build with hyprlang * CI: add hyprlang to setup action * add infra for plugin stuff * fix hyprctl getoption * fix hyprctl getoption with json * format * fix post parse logic * fix autogen config * oops missed exec-once * fmt * fix ws rules * require 0.3.0 for hyprlang * nix: flaek * minor type fixes * fix cfg usages in swipe * use cvarlist for ws rules * fix throw in addPluginConfigVar * Nix: update hyprlang * minor fixes * fix disableLogs * mention hyprlang docs * bump hyprlang dep in cmake * Meson: bump min hyprlang version Nix: update hyprlang * minor fix * Nix: update meson patch --------- Co-authored-by: Mihai Fufezan <fufexan@protonmail.com>
* input: refocus on completed dragsVaxry2024-02-171-1/+1
|
* input: fix follow_focusVaxry2024-02-151-2/+2
|
* input: don't schedule frame on cursor move on hw cursorsVaxry2024-02-151-1/+2
| | | | | | spams unnecessary frames. Maybe we should ignore empty damage frame requests too? ref #3747 #3490
* input: avoid rampant refocuses on popupsVaxry2024-02-151-2/+10
|
* input: log cursor image requestsVaxry2024-02-151-0/+4
|
* input: avoid reassigns of unchanged surfaces in processMouseRequestVaxry2024-02-121-2/+7
|
* input: focus monitor on mouse downVaxry2024-02-101-2/+4
| | | | fixes #4649
* input: partially revert #4514Vaxry2024-02-101-6/+2
| | | | issues with refocus in #4649
* input: focus window on mouse down on decoration (#4514)MightyPlaza2024-02-041-9/+13
| | | Also unifies vectorToWindow funcs
* deps: update wlrootsVaxry2024-01-271-1/+2
| | | | drops requirement for WLR_DRM_NO_ATOMIC provided kernel >= 6.8
* input: Allow disabling touchscreen input (#4517)Zach DeCook2024-01-241-2/+6
| | | | | * enable/disable touch device * ConfigManager: update documentation of 'enabled'
* core: improve cleanup logicvaxerski2024-01-191-0/+3
|
* input: partially revert #4401vaxerski2024-01-171-1/+1
| | | | ref #4465
* layershell: Fix greedy mouse grab from keyboard_interactive layer (#4401)Zach DeCook2024-01-121-2/+2
| | | | | * Layer: Don't allow a keyboard-layer to steal focus from other layers * Input: Don't change keyboard focus on click if focus is locked
* input: Ignore some input events when focus is on a layer surface (#4306)dranull2024-01-011-4/+6
| | | | | * No motion events with focus on LS on workspace change * Don't check scroll events on decorations with focus on LS
* groupbar: Middle click on groupbar to close tab (#4297)dranull2023-12-301-1/+1
| | | | | | | | | * Prevent window swapping when the head is removed * Bring floating windows to top when selected * Allow clicks on gropubar in fullscreen 1 * Close window on groupbar with middle click
* renderer: ignore windowRequestedCursorHidevaxerski2023-12-291-5/+0
| | | | | | ref #4197, thanks @dtop129 co-authored-by: dtop129
* internal: Unify input handling on decorations (#4280)dranull2023-12-281-24/+7
| | | | | | | * Unify input handling on decorations * Make input methods private * Optional data
* input: don't steal mouseDown from LS (#4260)MightyPlaza2023-12-271-1/+1
| | | modified: src/managers/input/InputManager.cpp
* renderer: cursor hiding logic improvements (#4184)dusanx2023-12-181-12/+7
| | | Co-authored-by: Dusan Popovic <dpx@binaryapparatus.com>
* input: Activate resize_on_border only when key is pressed (#4170)dranull2023-12-161-1/+1
|
* input: Prevent crash with invalid keyboard layout (#4157)dranull2023-12-151-1/+2
|
* input: unset resize cursor on empty focusVaxry2023-12-121-1/+5
| | | | fixes #4133
* renderer: double lookup fix, input: double conversion fix (#4124)nmzik2023-12-111-2/+2
|
* input: Add scroll_points option for device (#4101)Mihai Fufezan2023-12-101-7/+24
|
* input: add relative_input for tabletsVaxry2023-12-091-1/+4
| | | | closes #2639
* style/ci: apply clang-format and verify it in ci (#4039)François Conzelmann2023-12-061-1/+1
| | | | | * style: apply clang-format * ci: add new clang-format job to CI
* input: Stop propagating axis events after valid binds (#4059)dranull2023-12-051-2/+4
|
* input: make fallback layout usVaxry2023-12-051-5/+5
|
* input: fix overzealous mouse capture on resize_on_border (#4010)Wren Baxter2023-12-011-1/+5
| | | fixes #2456
* events: add keyPress and mouseAxisVaxry2023-11-301-2/+8
| | | | fixes #4011 fixes #4008
* input: Fix custom acceleration profile config (#3948)Jibin George2023-11-251-1/+1
|
* input: pass mouse input to IME popups (#3922)Junxuan Liao2023-11-251-3/+12
|
* inputmgr: clean lists in ~dtorVaxry2023-11-121-0/+12
| | | | ref #3558
* decorations: Decoration Positioner (#3800)Vaxry2023-11-111-3/+3
|
* input: don't schedule repaint on cursor move if hardware cursors are in useVaxry2023-11-101-1/+1
|
* Internal: Hyprland box implementation (#3755)Vaxry2023-11-041-13/+13
| | | | | | | * box impl * remove unused operators * missed applyfromwlr
* Decos: Window decoration flags, shadow improvements (#3739)Vaxry2023-11-041-4/+4
|
* input: let input-grabbing decos have prio over resize on borderVaxry2023-10-291-36/+57
|
* input: handle mouse on decorations (#3560)MightyPlaza2023-10-291-10/+9
|
* input: better cursor image infrastructureVaxry2023-10-291-15/+63
| | | | | | Improves handling of cursor images/surfaces Fixes an issue with decos and cursors Fixes #3471
* input: remove incorrect check in re-enterVaxry2023-10-261-5/+2
| | | | fixes #3659
* input: fix mouse down handling on unset last surfaceVaxry2023-10-261-1/+2
| | | | fixes #3659
* input: Apply scaling to cursorPosOnActivate position (#3664)Tyler Schneider2023-10-261-1/+1
|
* input: fix warnVaxry2023-10-241-1/+0
|
* layershell: support ON_DEMAND keyboard modeVaxry2023-10-221-4/+4
| | | | fixes #2264
* hooksystem: add callbackinfo struct and cancellable eventsVaxry2023-10-211-5/+5
|