summaryrefslogtreecommitdiff
path: root/src/protocols/core/Seat.hpp
Commit message (Collapse)AuthorAgeFilesLines
* protocols: implement image-capture-source-v1 and image-copy-capture-v1 (#11709)Ikalco2026-02-221-0/+5
| | | Implements the new screencopy protocols
* protocols/seat: force down rounding of coords at the surface edge (#11890)Vaxry2025-10-011-0/+2
| | | ref https://github.com/hyprwm/Hyprland/discussions/11665
* protocols: implement pointer-warp-v1 (#11469)Ikalco2025-08-291-0/+6
|
* virtualkeyboard: Add options to skip releasing pressed keys on close and to ↵JS Deck2025-08-041-1/+2
| | | | skip sharing key states (#11214)
* core: use new typed signals from hu (#10853)outfoxxed2025-07-081-2/+2
|
* protocols: refactor class member vars (core) (#10259)davc0n2025-05-031-31/+31
|
* core: move all shared_ptrs from the STL to hyprutils (#9143)Vaxry2025-01-231-1/+0
|
* seat: fix double scrolling in some applications (#8583)Ikalco2024-11-261-0/+1
|
* seat: avoid sending pointless 'keymap' and 'repeat_info' events (#8276)staticssleever6682024-10-281-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | #### Describe your PR, what does it fix/add? Fix lag spikes when pressing more than 6 keys at the same time. #### Is there anything you want to mention? (unchecked code, possible bugs, found problems, breaking compatibility, etc.) Debugging process: <details> This is triggered by typing some applications, like CopyQ or XWayland. Typing in Firefox doesn't lead to lag, however it itself does lag handling these events. Profiling CopyQ shows that paths leading to `QtWaylandClient::QWaylandInputDevice::Keyboard::keyboard` take over 80% of processing time of an otherwise idle program. Looking at output of 'wev' even when it's not focused shows same events received over and over again. ``` [14: wl_keyboard] repeat_info: rate: 25 keys/sec; delay: 300 ms [14: wl_keyboard] keymap: format: 1 (xkb v1), size: 64754 ``` Looking at what passes through CInputManager::onKeyboardKey() -> CSeatManager::setKeyboard() shows Hyprland 'switching' between endpoints of the same keyboard, one of them being named like the other but with '-1' suffix. </details> Tested changing layouts in Fcitx5 and with following config. ``` input:kb_layout = us,cz input:kb_variant = ,qwerty input:kb_options = grp:alt_shift_toggle ``` Also tested changing 'input:repeat_delay' while running. Curiously, now these events appear in the output of 'wev' only once. Changing layouts still seems to work fine though. #### Is it ready for merging, or does it need work? Ready for merging.
* core/surface/buffer: Buffer lock/release fixes (#7110)Vaxry2024-07-311-0/+15
|
* core: Move to hyprutils for MathVaxry2024-06-191-1/+1
| | | | | | Moves CRegion, CBox and Vector2D over to hyprutils. Requires hyprutils>=0.1.4
* seat: track pressed pointer buttonsVaxry2024-06-171-0/+2
| | | | releases them on leave, unless there is a dnd going on
* seat: fixup touch event handlingvaxerski2024-06-121-0/+2
| | | | fixes #6353
* wayland/core: move to new impl (#6268)Vaxry2024-06-081-12/+19
| | | | | * wayland/core/dmabuf: move to new impl it's the final countdown
* wl_seat: move to hyprland implVaxry2024-05-141-0/+163