summaryrefslogtreecommitdiff
path: root/src/managers/input/InputManager.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* layerrules: fix abovelock interactivity for touch input (#10253)Virt2025-05-031-0/+6
|
* protocols: refactor class member vars (core) (#10259)davc0n2025-05-031-3/+3
|
* managers: refactor class member vars (#10242)davc0n2025-05-021-21/+21
|
* inputs: refactor class member vars (#10230)davc0n2025-05-011-175/+175
|
* helpers: refactor class member vars (#10218)davc0n2025-04-301-17/+16
|
* input: don't use pointer hold logic for unmapped surfsVaxry2025-04-301-1/+2
| | | | fixes #10215
* devices: refactor class member vars (#10206)davc0n2025-04-291-70/+71
|
* windows: refactor class member vars (#10168)davc0n2025-04-281-26/+26
|
* layerrules: add abovelock to render above lockscreen (#9793)Virt2025-04-251-6/+21
|
* workspaces: refactor class member vars (#10167)davc0n2025-04-251-3/+3
|
* layers: refactor class member vars (#10149)davc0n2025-04-241-8/+8
| | | | | * layers: refactor class member vars * popups: rename m_WLSurface to m_wlSurface
* compositor: refactor class member vars (#10141)davc0n2025-04-221-29/+29
|
* 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
|
* 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-161-10/+4
|
* windowrules: allow incrementing window props (#9566)MightyPlaza2025-04-161-0/+1
|
* input/layers: Fix exclusive LS focus / refocus after unmap (#9984)Vaxry2025-04-071-6/+20
|
* 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.
* 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-171-11/+18
|
* core: cleanup header includes (#9088)user1111111111111111111111111111111112025-01-171-0/+5
| | | Cleanup some unneeded includes to speed up compilation
* core: move parts of the animation system to hyprutils (#8868)Maximilian Seidler2025-01-071-6/+6
| | | | | | | | | | | | | * 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
* input: add warp_back_after_non_mouse_inputVaxry2024-12-151-2/+23
| | | | | | 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
* windowrules: add rules for mouse and touchpad scroll factors (#8655)Mike Will2024-12-111-1/+3
|
* core: Add clang-tidy (#8664)Vaxry2024-12-071-3/+3
| | | | | 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-221-4/+4
| | | | CCompositor is massive, and has a lot of functions that could be better optimized if in CWorkspace
* pointer: map devices across all outputs by default (#8352)JManch2024-11-111-0/+3
|
* input: ignore non-kb ls-es in refocusLastWindowVaxry2024-11-091-2/+8
| | | | ref #8293
* input: cleanup device naming logicVaxry2024-11-091-22/+3
| | | | ref #8301
* input: Refocus window on scrolling if follows mouse (#8361)nickodei2024-11-081-13/+23
|
* internal: more profiling less calls and local copies (#8300)Tom Englund2024-10-301-6/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * compositor: reduce amount of window box copies mousemoveunified can call this very frequently, the cbox copying actually shows up as an impact in such cases, move it down in the scope and only do it when necessery. * core: constify and reference frequent calls profiling shows these as frequent called functions try to reduce the amount of copies with references and const the variables. * pointermgr: remove not used local copy, const ref remove unneded local copies and const ref cursorsize. * inputmgr: reduce amount of calls to vectortowindow the amount of calls to g_pCompositor->vectorToWindowUnified fast ramps up in cpu usage with enough windows existing and moving the mouse, move the PWINDOWIDEAL up and reuse it if its already the same. * protocol: compositor remove unused local copy remove unused local copy of accumulateCurrentBufferDamage and const previousBuffer. * renderer: reduce scope of variables and refactor move a few variables down in their scopes to reduce the amount of calls and copies when not needed, also add one more for loop in renderWorkspaceWindows and store the windows in a vector with weakpointers that should be rendered, this adds a loop but reduces the amount of repeated calls to shouldRenderWindow and also makes the rest of the loops go over way smaller vector when many windows exist.
* input: revert #8279Vaxry2024-10-301-1/+0
|
* input: simulate mouse movement after scroll to refocus window (#8279)nickodei2024-10-301-0/+1
|
* internal: optimize cursor move a bit (#8264)Tom Englund2024-10-271-22/+13
| | | | | | | | | | | | | | | | | | | | | * window: inline and const getWindowMainSurfaceBox getWindowMainSurfaceBox gets called a lot of times from deep down from mousemoveunified, profiling mousemoveunified it spends quite a lot of cpu time in here, let the compiler optimize the call to getWindowMainSurfaceBox by inlining and making it const. reducing the overhead. * inputmgr: return early and use std::any_of return early in mousemoveunified to reduce the amount of unnecessery calls to various pointers when not needed, also make isconstrained use std::any_of instead of for loop to use the STL optimized paths with hopes and dreams marginally faster. * decoration: return early, reduce temporar copy return earlier and reduce the temp copies by using one .lock instead of two
* internal: Remove some unused lambda captures (#8218)Honkazel2024-10-241-1/+1
|
* internal: Move CMonitor to SP (#8178)Vaxry2024-10-191-5/+5
| | | | | * move monitors to sp * XD
* input: Fix VRR for constrained cursors (#6877)UjinT342024-10-121-3/+18
|
* input: move dmps activation to input listeners (#7721)Maximilian Seidler2024-09-091-12/+9
|
* input: kb focus mouse focused window if unset (#7666)outfoxxed2024-09-061-0/+3
| | | | | Normally it shouldn't be possible to have mouse focus with no kb focus, but it does happen, and when it does this makes it considerably less annoying.
* input: move idle notify to input handlers (#7659)Maximilian Seidler2024-09-061-11/+8
| | | | | | | | | * Revert "input: don't emit idle activity when calling simulateMouseMovement (#7649)" This reverts commit ea10592ad3c861ff2ce73ad7785bcb5a45a9e400. * input: move idle notify calls to input event listeners * input: don't post idle activity when keyboard is not enabled
* sessionLock: ensure sls focus in some edge cases (#7647)Maximilian Seidler2024-09-041-28/+28
| | | | | | | | | | | | | | | | * input: return early in mouseMoveUnified when the session is locked * sessionLock: make make a commit an opportunity to focus session lock surfaces * compositor: allow resetting focus when session is locked * input: remove redundant PMONITOR checks PMONITOR is checked above * input: check isSessionLocked earlier in mouseMoveUnified A bit of reordering, so that we don't call some stuff that is irrelevant when the session is locked
* input: don't emit idle activity when calling simulateMouseMovement (#7649)Maximilian Seidler2024-09-041-3/+3
|
* window/xwayland: minor property cleanupVaxry2024-08-301-2/+2
| | | | fixes #6921
* misc: constify the remaining for loops (#7534)Tom Englund2024-08-261-10/+10
| | | now we roll loops at blazing constified speed.
* core: make most for loops use const references (#7527)Tom Englund2024-08-261-3/+3
| | | | why not let the compiler optimise things for us at hyprspeeds when we can.