summaryrefslogtreecommitdiff
path: root/src/managers/KeybindManager.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* compositor: refactor class member vars (#10141)davc0n2025-04-221-82/+82
|
* keybinds: allow executing binds not bound to a key (#10102)nyx2025-04-211-8/+15
|
* config: Refactor class member vars (#10124)davc0n2025-04-201-5/+5
| | | | | * Refactor config classes vars * Fix clang format errors
* InputManager: add config option to disable keybinds per device (#10064)nyx2025-04-171-1/+4
|
* windowrules: allow incrementing window props (#9566)MightyPlaza2025-04-161-4/+11
|
* binds: add drag_threshold for click/drag isolation (#9839)alaricljs2025-04-121-1/+15
| | | | | --------- Co-authored-by: Leeman <lstrout@enlj.com>
* input: add warp_on_toggle_special (#9945)Virt2025-04-101-0/+18
|
* workspaces: Add binds:hide_special_on_workspace_change (#9728)LeviVanDerMaas2025-03-301-4/+11
|
* keybinds: add sendkeystate dispatcher (#9599)nyx2025-03-251-0/+43
|
* core: update decorations on lockgroups (#9573)MightyPlaza2025-03-101-0/+1
| | | modified: src/managers/KeybindManager.cpp
* keybinds): prevent crash when executing movewindoworgroup (#9551)nyx2025-03-061-1/+1
|
* core: cleanup some smart pointer usageVaxry2025-03-021-1/+1
|
* core: cleanup window propertiesVaxry2025-03-021-3/+3
| | | | they don't need to be in CConfigManager, and belong to window instead
* internal: use isNumber from hyprutils (#9467)littleblack1112025-02-231-1/+1
|
* keybinds: fix some errors not returning a failure (#9416)andrewandreii2025-02-151-22/+43
|
* internal: redirect exec'd app output to /dev/null (#9411)nyx2025-02-151-0/+8
|
* window: move size reporting to animation begin callback (#9298)Maximilian Seidler2025-02-061-1/+0
| | | | | | | | | | | | | | | | | * window: fix resizes with an update callback * window: fixup sendWindowSize Remove the size argument from sendWindowSize, since it is now a member of the Window class and we don't want any mismatches between m_vRealSize and what we report. Remove sendWindowSize from mapWindow, since we shouldn't need it. * window: sendWindowSize on animation begin * window: move most calls to sendWindowSize to the animation begin callback * window: remove sendWindowSize in unmanaged if not fullscreen
* keybinds: Added `toggleswallow` dispatcher (#5548)Tom Benham2025-02-051-0/+22
| | | | | | | * Added `toggleswallow` dispatcher * clang-format * Removed brackets for 1-line if
* dispatchers: add cyclenext hist option (#9055)Alexander2025-02-031-18/+14
|
* refactor: clang-tidy in compositor (#9241)Alexander2025-02-021-2/+0
| | | Co-authored-by: Alexandr Krylov <t@ruenya.nix>
* core: begin using CFileDescriptor from hyprutils (#9122)Tom Englund2025-01-301-17/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * config: make fd use CFileDescriptor make use of the new hyprutils CFileDescriptor instead of manual FD handling. * hyprctl: make fd use CFileDescriptor make use of the new hyprutils CFileDescriptor instead of manual FD handling. * ikeyboard: make fd use CFileDescriptor make use of the new CFileDescriptor instead of manual FD handling, also in sendKeymap remove dead code, it already early returns if keyboard isnt valid, and dont try to close the FD that ikeyboard owns. * core: make SHMFile functions use CFileDescriptor make SHMFile misc functions use CFileDescriptor and its associated usage in dmabuf and keyboard. * core: make explicit sync use CFileDescriptor begin using CFileDescriptor in explicit sync and its timelines and eglsync usage in opengl, there is still a bit left with manual handling that requires future aquamarine change aswell. * eventmgr: make fd and sockets use CFileDescriptor make use of the hyprutils CFileDescriptor instead of manual FD and socket handling and closing. * eventloopmgr: make timerfd use CFileDescriptor make the timerfd use CFileDescriptor instead of manual fd handling * opengl: make gbm fd use CFileDescriptor make the gbm rendernode fd use CFileDescriptor instead of manual fd handling * core: make selection source/offer use CFileDescriptor make data selection source and offers use CFileDescriptor and its associated use in xwm and protocols * protocols: convert protocols fd to CFileDescriptor make most fd handling use CFileDescriptor in protocols * shm: make SHMPool use CfileDescriptor make SHMPool use CFileDescriptor instead of manual fd handling. * opengl: duplicate fd with CFileDescriptor duplicate fenceFD with CFileDescriptor duplicate instead. * xwayland: make sockets and fds use CFileDescriptor instead of manual opening/closing make sockets and fds use CFileDescriptor * keybindmgr: make sockets and fds use CFileDescriptor make sockets and fds use CFileDescriptor instead of manual handling.
* core: move sendWindowSize off of xwaylandmgrVaxry2025-01-251-1/+1
| | | | additionally fixes that one weird x11 issue with floating windows being mis-sized on open
* core: add --verify-config to verify the config with HyprlandVaxry2025-01-241-2/+5
| | | | fixes #9135
* input: abord dnd op on escape pressedVaxry2025-01-241-0/+4
| | | | ref #9154
* core: move all shared_ptrs from the STL to hyprutils (#9143)Vaxry2025-01-231-1/+1
|
* keybinds: add visible arg for cyclenext (#9045)Alexander2025-01-211-6/+7
| | | Co-authored-by: Крылов Александр <aleksandr.krylov@hyperus.team>
* core: reserve vector sizes as much as we can (#9118)Tom Englund2025-01-191-3/+1
| | | | | avoid reallocations as much as possible with a few edge cases where the reservation overshoots a tiny bit. but a few bytes of memory short term is better used then the overhead of potential reallocation.
* core: cleanup header includes (#9088)user1111111111111111111111111111111112025-01-171-0/+6
| | | Cleanup some unneeded includes to speed up compilation
* keybinds: fix movefocus fallback for special workspaces (#9040)staz2025-01-121-1/+2
|
* keybinds: fix previous_per_monitor logic (#9010)Alexander2025-01-111-19/+14
| | | Co-authored-by: Крылов Александр <aleksandr.krylov@hyperus.team>
* keybinds: fix nullptr deref in forcekillactive (#9021)littleblack1112025-01-101-1/+8
|
* core: always use goal size to send to clientsvaxerski2025-01-101-2/+2
|
* keybinds: add new window destruction dispatchers (#8962)littleblack1112025-01-081-5/+79
|
* core: move parts of the animation system to hyprutils (#8868)Maximilian Seidler2025-01-071-32/+32
| | | | | | | | | | | | | * 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
* keybinds: attempt to wrap around if fallback is allowed in movefocusvaxerski2025-01-021-4/+37
| | | | fixes #8909
* core: refactor/improve monitor mode selection (#8804)Ikalco2024-12-281-1/+1
|
* internal: Make static analysis more happy (#8767)Ikalco2024-12-191-2/+2
| | | | | | | | | * make functions used in 1 file static * fix invalid substr param -1 * give default initializer to borderGradier * move RASSERT from printf to std::print
* binds: cycle within group on single monitor if no window found in the ↵normaltaro2024-12-171-10/+9
| | | | argument direction. (#8714)
* core: drop using deques in favor of vectorsVaxry2024-12-161-1/+1
| | | | No point in most of these.
* dispatchers: Add an option to prioritize focus change within groups with ↵normaltaro2024-12-131-0/+16
| | | | | | | | | | | movefocus (#8601) * modified movefocus dispatcher to prioritize focus change within groups * pass clang-format check * `movefocus` cycling groups set optional to config bool `movefocus_cycles_groupfirst` * Update ConfigDescriptions.hpp
* windowrules: add rules for mouse and touchpad scroll factors (#8655)Mike Will2024-12-111-0/+7
|
* config: add 'force' option for 'cursor:warp_on_change_workspace' (#8681)Pavel Belyavsky2024-12-101-2/+2
| | | | | | | * config: add 'force' option for 'cursor:warp_on_change_workspace' * manager: throw the expression into the function arguments * config: fix description of `cursor:warp_on_change_workspace`
* core: Add clang-tidy (#8664)Vaxry2024-12-071-19/+17
| | | | | This adds a .clang-tidy file for us. It's not a strict requirement to be compliant, but I tuned it to be alright.
* internal: fixup some missed updateColorsOk() callsVaxry2024-12-031-0/+2
|
* core: move colorspace handling to oklab (#8635)Vaxry2024-12-031-1/+1
| | | | | | | | | | | * Meson: add hyprgraphics * Nix: add hyprgraphics * CI/setup_base: get hyprgraphics-git --------- Co-authored-by: Mihai Fufezan <mihai@fufexan.net>
* core: fix compilation outside stdlibc++Vaxry2024-11-281-2/+2
| | | | fixes #8603
* core: workspace-related function cleanup / refactorVaxry2024-11-221-11/+19
| | | | CCompositor is massive, and has a lot of functions that could be better optimized if in CWorkspace
* keybinds: actually suppress internal keybinds instead of passing them along ↵may2024-11-221-1/+3
| | | | (#8538)
* internal: fix some misused configStringToInt conversionsVaxry2024-11-201-4/+4
| | | | fixes #8523
* internal: minor cleanups for color resultsVaxry2024-11-191-9/+14
|