summaryrefslogtreecommitdiff
path: root/src/managers/input/Touch.cpp
Commit message (Collapse)AuthorAgeFilesLines
* config/lua: init lua config manager, use lua if available (#13817)Vaxry2026-04-261-7/+7
| | | Adds a new lua config manager, which will automatically be used if there is a lua config present.
* config: cleanup the entire config infrastructure (#13785)Vaxry2026-03-201-1/+1
| | | | Massively refactors the config infrastructure, sorely needed and will be req'd for the lua stuff
* input: focus monitor on touch down events (#13773)Khalid2026-03-181-0/+3
|
* event: refactor HookSystem into a typed event bus (#13333)Vaxry2026-02-221-7/+19
| | | | | Refactors the old HookSystem into a typed event bus with clear separation, discovery and types.
* debug: move to hyprutils' logger (#12673)Vaxry2025-12-181-2/+2
|
* desktop: cleanup, unify desktop elements as views (#12563)Vaxry2025-12-081-1/+1
|
* compositor: Configurable behavior when window to be focused conflicts with ↵Nikolai Nechaev2025-11-251-2/+2
| | | | | | | | | | fullscreen (#12033) Renames `misc:new_window_takes_over_fullscreen` into `misc:on_focus_under_fullscreen` and implements the following behavior: - By default, when a tiling window is being focused on a workspace where a fullscreen/maximized window exists, respect the `misc:on_focus_under_fullscreen` config variable.
* renderer: add more uniforms to the screen shader (#11986)Mozzarella322025-10-201-0/+2
| | | | | | | | | | | | These are: pointer_shape from the cursor-shape-v1 protocol prepared for v2, along with left_ptr...bottom_right_corner and killing (Hyprland specific) pointer_shape_previous with pointer_switch_time to blend between shapes pointer_size scaled size as used by the normal cursor pointer_pressed_positions[32] with pointer_pressed_times[32] and pointer_pressed_killed(32 bits) for click/touch animations and if they killed something pointer_inactive_timeout with pointer_last_active to smoothly fade the pointer out pointer_hidden to hide it when the cursor is hidden (excluding by cursor:invisible as this config value can be used to turn off the normal cursor, which is useful when drawing it with the screen shader)
* input: Add fully configurable trackpad gestures (#11490)Vaxry2025-08-281-17/+18
| | | Adds configurable trackpad gestures
* touch: detach from pointer inputvaxerski2025-08-201-26/+22
| | | | this detaches touch from pointer input. Touch should not affect where your cursor is, and it doesn't make much sense for it to move when we use touch
* touch: fix popup coordinates for touch downvaxerski2025-08-201-1/+8
| | | | fixes #10626
* refactor: Use new hyprutils casts (#11377)Kamikadze2025-08-141-2/+2
|
* layerrules: fix abovelock interactivity for touch input (#10253)Virt2025-05-031-1/+2
|
* inputs: refactor class member vars (#10230)davc0n2025-05-011-46/+46
|
* helpers: refactor class member vars (#10218)davc0n2025-04-301-10/+10
|
* devices: refactor class member vars (#10206)davc0n2025-04-291-1/+1
|
* windows: refactor class member vars (#10168)davc0n2025-04-281-6/+6
|
* workspaces: refactor class member vars (#10167)davc0n2025-04-251-2/+2
|
* layers: refactor class member vars (#10149)davc0n2025-04-241-3/+3
| | | | | * layers: refactor class member vars * popups: rename m_WLSurface to m_wlSurface
* compositor: refactor class member vars (#10141)davc0n2025-04-221-1/+1
|
* config: Refactor class member vars (#10124)davc0n2025-04-201-2/+2
| | | | | * Refactor config classes vars * Fix clang format errors
* windowrules: allow incrementing window props (#9566)MightyPlaza2025-04-161-0/+1
|
* touch: reject swipe on locked sessionsVaxry2025-03-061-1/+1
| | | | fixes #9542
* input: pass touch events to lock screens (#9129)Junxuan Liao2025-01-251-5/+25
| | | | | * refactor: use weak pointers for session lock surfaces * input: pass touch events to lock screens
* core: cleanup header includes (#9088)user1111111111111111111111111111111112025-01-171-0/+2
| | | Cleanup some unneeded includes to speed up compilation
* core: move parts of the animation system to hyprutils (#8868)Maximilian Seidler2025-01-071-7/+9
| | | | | | | | | | | | | * 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
* core: move internal structures to monitor pointers (#8266)Vaxry2024-10-271-2/+2
|
* internal: Move CMonitor to SP (#8178)Vaxry2024-10-191-1/+1
| | | | | * move monitors to sp * XD
* config/layout: nuke no_gaps_when_only (#8072)Vaxry2024-10-111-1/+0
|
* input: move idle notify to input handlers (#7659)Maximilian Seidler2024-09-061-3/+0
| | | | | | | | | * 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
* touch: fix touch swipe invert config (#7014)Leon2024-07-241-1/+1
|
* touch: set lastInputTouch on every eventVaxry2024-07-221-2/+6
|
* touch: add touch swipe invert config (#6940)khachbe2024-07-211-1/+1
|
* wayland/core: move to new impl (#6268)Vaxry2024-06-081-1/+1
| | | | | * wayland/core/dmabuf: move to new impl it's the final countdown
* wl_seat: move to hyprland implVaxry2024-05-141-8/+6
|
* layer-shell: move to new implVaxry2024-05-091-1/+1
| | | | Also bumps the hw-s dep
* cursor: move to a hyprland implVaxry2024-05-091-29/+23
| | | | | | | This moves wlr_cursor to a completely new impl mostly under CPointerManager Also adds beginSimple to OpenGL for simple render passes (e.g. cursor)
* internal: new shared_ptr and weak_ptr implementation (#5883)Vaxry2024-05-051-10/+9
| | | | | | | | | | | moves std::shared_ptrs to a new implementation Advantages: - you can dereference a weak_ptr directly. This will obviously segfault on a nullptr deref if it's expired. - this is useful to avoid the .lock() hell where we are 100% sure the pointer _should_ be valid. (and if it isn't, it should throw.) - weak_ptrs are still valid while the SP is being destroyed. - reasoning: while an object (e.g. CWindow) is being destroyed, its `weak_ptr self` should be accessible (the sp is still alive, and so is CWindow), but it's not because by stl it's already expired (to prevent resurrection) - this impl solves it differently. w_p is expired, but can still be dereferenced and used. Creating `s_p`s is not possible anymore, though. - this is useful in destructors and callbacks.
* input: Introduce basic hyprland HID classesVaxry2024-05-031-3/+4
| | | | | | Implements an intermediary HID class for mice, keyboards and touch devices, removing the old structs from WLClasses.hpp Yes, virtual ones are duplicated a bit, but will likely be de-duped once wlr_input_device is not used anymore.
* layerSurface: refactor/move to a memory-safe implVaxry2024-04-301-5/+5
| | | | | Makes all the pointers smart to avoid memory issues Refactors layerSurface code to live inside desktop/layersurface
* ext-idle-notify: move to new implVaxry2024-04-291-1/+2
|
* internal: Window storage rework - part 1 (#5762)Vaxry2024-04-271-9/+10
| | | | | | | | | | | | | | | | | * Window storage rework - part 1 * format * remove useless include * fix pch * format * fix crash in dwindle * fix vram leak * prefer .expired() for bool checks
* swipe: fix crashes with invalid distanceVaxry2024-04-261-10/+11
| | | | fixes #5758
* pointer-gestures: move to new implVaxry2024-04-241-8/+0
|
* Workspace/core: Refactor workspace storage (#5380)Vaxry2024-04-021-1/+1
| | | | | * refactor workspaces to use ptrs * clang-format
* swipe: Touchscreen workspace swipe (#4489)Zach DeCook2024-03-171-0/+63
| | | | | | | | | * Workspace Swipe: Refactor update and end functions * Touch: Implement workspace swipe better ignoring additional fingers and new touches allow gaps-right and gaps-left to be different
* deps: update wlrootsVaxry2024-03-091-1/+1
|
* animations: Refactor AnimatedVariable (#4911)GartoxFR2024-03-021-2/+2
| | | | | | | | | | | | | | | | | | | | | | | * animation: Refactor AnimatedVariable This commit decomposes the AnimatedVariable class into a base class with the common attribute to all variable types and a templated derived type containing strongly typed info on the type being animated. Access to the typed version is perfomed using the visitor pattern. A utility is provided to build a visitor on the fly using lambdas. Adding a new type to be animated should just be a matter of adding the typed in the list defined by the ANIMABLE_TYPES macro The size of the commit is justified by the API change in the AnimatedVariable class. No more vec(), fl() or col() method but a unified value() method. * animation: Remove visitor pattern * animation: Fix coding style * animation: Fix coding style
* input: don't send mouse events on touch (#4071)swwind2023-12-061-2/+2
|
* pluginapi: add touch event hooks (#3836)Ching Pei Yang2023-11-131-0/+4
|