summaryrefslogtreecommitdiff
path: root/src/managers/input
Commit message (Collapse)AuthorAgeFilesLines
* layout: allow interacting with pinned windows when fullscreened (#10326)nyx2025-05-081-2/+2
| | | | | | | * layout: allow interacting with pinned windows when fullscreened * IHyprLayout: format code * e
* protocols: refactor class member vars (u-z) (#10282)davc0n2025-05-041-3/+3
| | | | | * protocols: refactor class member vars (u-z) * protocols: fix clang format
* protocols: refactor class member vars (n-t) (#10273)davc0n2025-05-042-39/+39
|
* protocols: refactor class member vars (a-m) (#10265)davc0n2025-05-045-36/+36
|
* internal: Use vecnotinrect instead of !vecinrect (#10262)Honkazel2025-05-031-1/+1
| | | | | | | * monitor: use vecnotinrect * inputmanager: vecnotinrect * clang format
* layerrules: fix abovelock interactivity for touch input (#10253)Virt2025-05-032-1/+8
|
* protocols: refactor class member vars (core) (#10259)davc0n2025-05-033-7/+7
|
* managers: refactor class member vars (#10242)davc0n2025-05-022-23/+23
|
* inputs: refactor class member vars (#10230)davc0n2025-05-0112-533/+532
|
* helpers: refactor class member vars (#10218)davc0n2025-04-304-43/+42
|
* input: don't use pointer hold logic for unmapped surfsVaxry2025-04-301-1/+2
| | | | fixes #10215
* devices: refactor class member vars (#10206)davc0n2025-04-293-110/+111
|
* windows: refactor class member vars (#10168)davc0n2025-04-284-41/+41
|
* layerrules: add abovelock to render above lockscreen (#9793)Virt2025-04-251-6/+21
|
* workspaces: refactor class member vars (#10167)davc0n2025-04-254-69/+69
|
* layers: refactor class member vars (#10149)davc0n2025-04-243-13/+13
| | | | | * layers: refactor class member vars * popups: rename m_WLSurface to m_wlSurface
* compositor: refactor class member vars (#10141)davc0n2025-04-226-46/+46
|
* InputManager: add nofollowmouse (#9994)nyx2025-04-211-2/+6
| | | | | | | | | | | * InputManager: add nofollowmouse with this, focus_follows_mouse=1 acts like focus_follows_mouse=2 on the specific windows defined by the user * e * e biggest e of all time
* keybinds: allow executing binds not bound to a key (#10102)nyx2025-04-211-3/+0
|
* tablet: naive window refocusing (#10110)Andrei V2025-04-211-0/+7
| | | Signed-off-by: Andrei V <andrei@ptaxa.net>
* config: Refactor class member vars (#10124)davc0n2025-04-201-2/+2
| | | | | * Refactor config classes vars * Fix clang format errors
* InputManager: add config option to disable keybinds per device (#10064)nyx2025-04-171-1/+6
|
* time: move to stl's clocks and move timerVaxry2025-04-162-11/+5
|
* windowrules: allow incrementing window props (#9566)MightyPlaza2025-04-162-0/+2
|
* binds: add drag_threshold for click/drag isolation (#9839)alaricljs2025-04-121-2/+3
| | | | | --------- Co-authored-by: Leeman <lstrout@enlj.com>
* input/layers: Fix exclusive LS focus / refocus after unmap (#9984)Vaxry2025-04-072-7/+21
|
* swipe: fix swiping onto a new workspace bound to another monitor (#8176) (#9927)kerty02025-04-071-12/+1
| | | | | | | | | | | | | | | | | The previous code didn't check if the chosen new workspace was bound to another monitor, causing buggy behavior where workspace was simultaneously open and not. The fix simply uses `r+1` for new workspace selection. Also, the previous code would select rightmost workspace + 1, creating large gaps in workspace IDs in some scenarios. Example (`()` and `[]` indicate workspaces on different monitors): `(1), 2, 3, 4, 5, 6, 7, 8, 9, [10]` Swipe right on `()` monitor would create: `(1), 2, 3, 4, 5, 6, 7, 8, 9, [10], (11)` But with this commit: `(1), (2), 3, 4, 5, 6, 7, 8, 9, [10]`
* swipe: fix prev workspace rememberingVaxry2025-04-061-0/+2
| | | | fixes #9904
* input: Fix clicking through groupbar tabs (#9606)phonetic1122025-03-151-1/+2
|
* input: fix touch calibration matrix overridingKhalid J.2025-03-111-6/+10
| | | | | make the default behavior non-overriding to avoid overriding user-set values elswehere.
* touch: reject swipe on locked sessionsVaxry2025-03-061-1/+1
| | | | fixes #9542
* input: fixup mouse check for flipping x / y (#9529)nyx2025-03-061-8/+10
|
* input: add flip_x and flip_y for touchpad (#9481)nyx2025-03-031-4/+21
|
* input: Provide a non-zero time for button release triggered during window ↵Indy Ray2025-03-011-1/+4
| | | | | unmap. (#9513) It doesn't seem that this is actually required, but it seems more consistant with other areas, such as in CVirtualKeyboardV1Resource::releasePressed.
* input: add follow_mouse_threshold (#9392)andrewandreii2025-02-172-11/+19
|
* tablet: take `active_area_size` into account when sending tip event (#9325)clamydo2025-02-091-11/+23
| | | | | | | | | | | | | | | | | * fixes #9322, take `active_area_size` into account when sending tip event * check if `relative_input` is set As suggested by @y47s5s68tq870r7tc1xpp755pabopg * refactoring active area in own function to keep it DRY * coding style * making transformation static --------- Co-authored-by: clamydo <clamydo@users.noreply.github.com>
* renderer/internal: stop using box pointersVaxry2025-01-261-1/+1
| | | | in favor of const refs
* input: pass touch events to lock screens (#9129)Junxuan Liao2025-01-252-9/+31
| | | | | * refactor: use weak pointers for session lock surfaces * input: pass touch events to lock screens
* core: move all shared_ptrs from the STL to hyprutils (#9143)Vaxry2025-01-235-10/+9
|
* tablet: send `motion`s on tip events (#9132)Junxuan Liao2025-01-231-4/+5
| | | | Typically, the position of the tool tip also changes on tool tip events, so we should forward this update to the clients.
* core: cleanup header includes (#9088)user1111111111111111111111111111111112025-01-177-2/+15
| | | Cleanup some unneeded includes to speed up compilation
* core: move parts of the animation system to hyprutils (#8868)Maximilian Seidler2025-01-074-75/+77
| | | | | | | | | | | | | * core: change animation manager to use Hyprutils::Animation * config: move animation config to hyprutils animation tree * use g_pAnimationManager->createAnimation and the new PHLANIMVAR template * core: use CGenericAnimatedVariabled::{enabled,setConfig,getStyle} and adapt callbacks * core: adapt animated variable usage (dereference the shared pointer) * misc: bump CMakeLists to hyprutils 0.3.3
* internal: remove dead code (#8748)Ikalco2024-12-172-5/+0
|
* core: drop using deques in favor of vectorsVaxry2024-12-161-1/+1
| | | | No point in most of these.
* input: add warp_back_after_non_mouse_inputVaxry2024-12-152-3/+29
| | | | | | adds cursor:warp_back_after_non_mouse_input fixes #8675
* core/data: Use pointer focus for DnD operations (#8707)Vaxry2024-12-141-2/+3
| | | fixes #7737
* hyprctl: add an inhibitingIdle field to windowsVaxry2024-12-132-13/+42
| | | | fixes #4322
* windowrules: add rules for mouse and touchpad scroll factors (#8655)Mike Will2024-12-111-1/+3
|
* core: Add clang-tidy (#8664)Vaxry2024-12-075-17/+15
| | | | | This adds a .clang-tidy file for us. It's not a strict requirement to be compliant, but I tuned it to be alright.
* core: workspace-related function cleanup / refactorVaxry2024-11-223-12/+11
| | | | CCompositor is massive, and has a lot of functions that could be better optimized if in CWorkspace