summaryrefslogtreecommitdiff
path: root/src/managers
Commit message (Collapse)AuthorAgeFilesLines
...
* gestures: Add gestures:workspace_swipe_min_fingers option (#6342)John M. Harris, Jr2024-06-071-4/+5
| | | | | | | | | | When gestures:workspace_swipe_min_fingers is enabled, gestures:workspace_swipe_fingers is considered to be the minimum number of fingers required to swipe. This behavior is more similar to sway and macOS's default behavior. For example, this allows you to set workspace_swipe_fingers to 3, but swipe with 4 or more fingers instead of 3.
* input: add cursor:persistent_warps to maintain relative position within a ↵memchr2024-06-071-12/+37
| | | | | | | | | window (#6338) Allows the cursor to return to its last relative position within a window when the window is refocused. Allows the cursor to retain its relative position within a window when the window is swapped, moved, changed workspace, added to or removed from groups. controlled with cursor:persistent_warps
* hookSystem: Make needsDeadCleanup volatile (#6356)John M. Harris, Jr2024-06-071-2/+2
| | | | The value of needsDeadCleanup would be clobbered after longjmp, having an undefined value.
* core: free more memory on destruction (#6348)Tom Englund2024-06-062-0/+8
| | | | | | | | | | | | | | | | | | * pointermgr: add destructor to state and free buf if the pointer has a buffer set it wont be freed upon destruction, make asan more happy by adding a destructor and wlr_buf_unlock it on exit. * cursormgr: free the animation timer event source properly free the animation timer event source on destruction. * compositor: free the critsig event source on exit properly free the critical signal event source on exit. * popup: clang format style clang format.
* build: fix non-pch build (#6337)memchr2024-06-051-0/+1
|
* seat: discrete round away from zero + high res scrolling (#6317)Agent00Ming2024-06-033-5/+11
| | | | | | | | * Discrete scrolling round away from zero e.deltaDiscrete can be multiples of 30 instead of the usual 120 causing the rounded value to be 0 when too small causing erratic scrolling. * Send value120 alongside discrete Fixes sensitivity issues for clients that support value120 axis events
* core: fix a few asan reported issues and a coredump on exit (#6285)Tom Englund2024-06-032-3/+10
| | | | | | | | | | | | | | | | | | * xwayland: add destructor to CXWM and free resource the wl_event_resource was running upon destruction of the compositor causing a null pointer segfault in onX11Event so ensure the event is removed upon destruction, also free the memory allocated by xcb_errors_context_new and finally call xcb_disconnect on the connection to free the fd and its memory. * hyprctl: dont leak the fd on destruction add a destructor and properly free the fd on destruction * eventloop: add destructor and free event source properly free the wl_event_source upon destruction.
* pointer: Include monitor scaling in HW hotspot calculation (#6283)obivan2024-05-311-1/+1
|
* config: add tag dispacther and window rule (#6211)giskard2024-05-282-8/+26
|
* hyprctl: Make setcursor better (support XCursor themes, give fail message) ↵Ikalco2024-05-282-10/+46
| | | | | | | | | (#6097) * add support for changing to X cursor themes * use new hyprcursor abi for options * remove unneeded struct
* xwayland: move to hyprland impl (#6086)Vaxry2024-05-258-116/+89
|
* pointer: remove dividing hotspot by scalevaxerski2024-05-251-1/+1
| | | | fixes #6117
* keybinds: Added new dispatcher (sendshortcut) (#6174)Can2024-05-243-2/+163
|
* pointer: add back nvidia hardware cursor quirks (#6220)thejch2024-05-241-1/+11
|
* pointermgr: ensure compositor exist on destroy (#6216)Tom Englund2024-05-231-1/+5
| | | | | | on exit of hyprland the CMonitor destroy signal comes after the compositor has been destructed, causing a heap use after free. add if check to ensure compositor exist and isnt shutting down when its triggered.
* tablet: fix mapping when mapped region is specified (#6206)Ming-Chuan2024-05-231-2/+5
| | | | | | | | | When `region_size` is set in the config (non-empty `boundBox`), cursor is mapped to wrong coordinate because `CBox::translate` mutates `TAB->boundBox`, making all subsequent coordinate calculations wrong. This also fixes the edge case where user sets `region_position` but not `region_size`.
* internal: save previous workspace before change (#6202)shezdy2024-05-231-11/+11
|
* keybinds: Add option to disable window direction monitor fallback (#6182)shezdy2024-05-221-4/+13
| | | | | * add monitor fallback option * format
* input: find surface pos correctly when mouse drag is activeVaxry2024-05-181-17/+20
| | | | fixes #6144
* pointer: damage in software mode on cursor image changesVaxry2024-05-171-0/+11
| | | | fixes #6126
* seat: update keymap/repeat info on keymap events from keebsVaxry2024-05-173-3/+12
| | | | fixes #6114
* pointer: don't update hw cursors on disabled displaysVaxry2024-05-161-0/+10
|
* seat: Send discrete event when axis source is scroll wheel (#6103)Agent00Ming2024-05-162-1/+4
| | | | | | modified: src/managers/SeatManager.cpp modified: src/managers/input/InputManager.cpp Co-authored-by: Agent_00Ming <agent00ming9366@gmail.com>
* keybinds: add keybind combos and add Left and Right mod distinction. (#5966)Gabriel Ford2024-05-162-30/+97
|
* seat: send axis_stop events after axis eventsVaxry2024-05-151-0/+3
| | | | fixes #6090
* seat: send enter/leave events to all bound wl_seats for a clientVaxry2024-05-151-37/+59
| | | | | | fixes #6069 Will not send anything beyond enter/leave. If you depend on multiple seats sending you motion, button, etc, events, fix your app.
* inputmgr: send pointer motion on ffm != 1Vaxry2024-05-151-0/+3
| | | | fixes #6077
* wl_seat: send frame event after pointer leave (#6074)Sungyoon Cho2024-05-152-1/+17
|
* primary-selection: move to hyprland implVaxry2024-05-143-1/+30
|
* wlr-data-device: move to hyprland implVaxry2024-05-142-0/+4
|
* wl-data-device: move to hyprland implVaxry2024-05-147-26/+65
|
* seatmgr: Add a grab classVaxry2024-05-144-2/+140
|
* xdg-shell: move to new implVaxry2024-05-144-94/+38
|
* wl_seat: move to hyprland implVaxry2024-05-149-123/+605
|
* cursor: minor fixes for unhiding surfacesVaxry2024-05-141-1/+1
| | | | | | the surface equality check is done in CPointerManager, the one in renderer can be wrong fixes #5975
* input: fix modifier and leds (#6062)Sungyoon Cho2024-05-142-6/+23
|
* keybinds: fix passVaxry2024-05-121-1/+2
| | | | | | reverts #5967 fixes #6022
* core: fix on-empty workspace being called too often (#6026)Brenno Lemos2024-05-121-2/+2
|
* keybinds: fix release binds in submaps (#6025)shezdy2024-05-121-3/+2
|
* socket2: fix events being reordered (#5955)underengineering2024-05-102-109/+138
| | | | | | | | | | | | | | | | | | | * socket2: fix events being reordered * remove WL_EVENT_READABLE * initialize eventSource in SClient * add more logs oopsie * replace unordered_map with vector * fix reordering when socket becomes writable before queue is flushed * ignore EAGAIN when accepting connection * use g_pEventManager
* core: remove unused includes and fix warnVaxry2024-05-101-2/+0
|
* presentation-time: move to new implVaxry2024-05-101-0/+2
|
* pointermgr: reset entered outputs when resetting surfaceVaxry2024-05-091-0/+7
| | | | fixes #5970
* config: move various cursor-related vars to cursor:Vaxry2024-05-092-2/+2
|
* keybinds: Fix classic global keybinds(pass dispatcher) (#5967)sub-kek2024-05-091-1/+1
|
* layer-shell: move to new implVaxry2024-05-095-6/+9
| | | | Also bumps the hw-s dep
* pointer: don't calculate hw hotspot for missing hw cursorsVaxry2024-05-091-0/+3
| | | | ref #5964
* virtual-keyboard: release keys before destroyVaxry2024-05-091-0/+2
|
* Tablet: move to new implVaxry2024-05-096-295/+427
| | | | Ring and strip are not implemented. Will I implement this? God fucking knows. Nobody seems to have that anyways.
* cursor: move to a hyprland implVaxry2024-05-0911-153/+1217
| | | | | | | This moves wlr_cursor to a completely new impl mostly under CPointerManager Also adds beginSimple to OpenGL for simple render passes (e.g. cursor)