summaryrefslogtreecommitdiff
path: root/src/managers/input/InputManager.cpp
Commit message (Collapse)AuthorAgeFilesLines
* inputmgr: clean lists in ~dtorVaxry2023-11-121-0/+12
| | | | ref #3558
* decorations: Decoration Positioner (#3800)Vaxry2023-11-111-3/+3
|
* input: don't schedule repaint on cursor move if hardware cursors are in useVaxry2023-11-101-1/+1
|
* Internal: Hyprland box implementation (#3755)Vaxry2023-11-041-13/+13
| | | | | | | * box impl * remove unused operators * missed applyfromwlr
* Decos: Window decoration flags, shadow improvements (#3739)Vaxry2023-11-041-4/+4
|
* input: let input-grabbing decos have prio over resize on borderVaxry2023-10-291-36/+57
|
* input: handle mouse on decorations (#3560)MightyPlaza2023-10-291-10/+9
|
* input: better cursor image infrastructureVaxry2023-10-291-15/+63
| | | | | | Improves handling of cursor images/surfaces Fixes an issue with decos and cursors Fixes #3471
* input: remove incorrect check in re-enterVaxry2023-10-261-5/+2
| | | | fixes #3659
* input: fix mouse down handling on unset last surfaceVaxry2023-10-261-1/+2
| | | | fixes #3659
* input: Apply scaling to cursorPosOnActivate position (#3664)Tyler Schneider2023-10-261-1/+1
|
* input: fix warnVaxry2023-10-241-1/+0
|
* layershell: support ON_DEMAND keyboard modeVaxry2023-10-221-4/+4
| | | | fixes #2264
* hooksystem: add callbackinfo struct and cancellable eventsVaxry2023-10-211-5/+5
|
* input: don't reset cursor movement timer on simulateMouseMovement (#3595)André Silva2023-10-171-2/+0
| | | Fixes #2570
* cleanup: Replace find() with C++20 starts_with(), ends_with() and contains() ↵Philip Damianik2023-10-151-2/+2
| | | | | | | (#3572) * Replace find() with C++20 starts_with() and ends_with() * Replace find() with C++20 contains()
* groups: create group and groupbar config sections (#3522)MightyPlaza2023-10-101-1/+1
| | | | | | | | | | | | | | | | | | | | * config: create group section modified: src/Compositor.cpp modified: src/config/ConfigManager.cpp modified: src/layout/DwindleLayout.cpp modified: src/layout/MasterLayout.cpp modified: src/managers/KeybindManager.cpp modified: src/managers/input/InputManager.cpp modified: src/render/decorations/CHyprGroupBarDecoration.cpp * separate group border and groupbar colors modified: src/Compositor.cpp modified: src/config/ConfigManager.cpp modified: src/render/decorations/CHyprGroupBarDecoration.cpp * add new line modified: config/ConfigManager.cpp
* events: fixup empty events not being sent on unmapvaxerski2023-10-061-2/+1
| | | | Ref #3506 https://github.com/hyprwm/Hyprland/issues/3506#issuecomment-1749508111
* input: fixup frame schedule conditions on mouse movevaxerski2023-10-041-1/+1
|
* input: fix warnvaxerski2023-09-291-2/+0
|
* input: fix unused variable warnvaxerski2023-09-291-1/+0
|
* renderer: optimize render pipeline when there is a solitary clientvaxerski2023-09-291-24/+12
|
* renderer: Tearing implementation (#3441)Vaxry2023-09-281-1/+2
|
* input: minor constraint fixesvaxerski2023-09-281-27/+27
| | | | Better adjust to constraints that do not set a hint. Fixes #3436
* input: Add map to region options for tablets (#3425)Cascade aka. Isoheptane2023-09-271-0/+6
| | | | | * Add region remap for tablets * Fix code style
* input: avoid using the wrong surface in drag focus forcevaxerski2023-09-231-1/+1
|
* input: fixup mouse down refocus conditionsvaxerski2023-09-231-1/+1
| | | | fixes #3402
* input: properly track mouse focus on drag operationsvaxerski2023-09-231-3/+8
|
* input: simplify fullscreen workspace input calculationsvaxerski2023-09-211-12/+7
| | | | Fixes an issue with special workspaces not receiving focus above fullscreen windows, and cleans up the code
* keybinds: implement pushactivetobottom dispacher (#3217)alaricljs2023-09-211-1/+1
| | | Co-authored-by: Leeman <lstrout@enlj.com>
* input: lock focus to last surface on buttons heldvaxerski2023-09-201-4/+1
| | | | fixes #3385
* input: Various constraint handling fixes (#3381)Vaxry2023-09-201-11/+10
| | | Fixes #3204
* input: guard constraint in unconstrainMousevaxerski2023-09-171-1/+2
|
* input: fix hints not being used if committed at the beginningvaxerski2023-09-151-3/+11
|
* input: don't refocus on switched workspace on the same monitorvaxerski2023-09-131-1/+18
|
* input: do not process mouse in unsafe statevaxerski2023-09-101-2/+2
|
* internal: fix warningsvaxerski2023-09-071-1/+0
|
* internal: Remove all `.c_str()` calls when using `std::vformat` (#3198)Philip Damianik2023-09-061-6/+6
| | | Signed-off-by: pdamianik <39028343+pdamianik@users.noreply.github.com>
* config: Integrate HASCONFIG into CConfigManager::getConfigValueSafeDevice ↵Philip Damianik2023-09-061-51/+29
| | | | (#3195)
* config/input: Improve fallback behavior for unset device config values (#3184)Philip Damianik2023-09-061-37/+49
| | | | | | | | | * Fix fallback behavior for unset device config values * Replace overload with default argument for fallback config key * Remove default value for fallback argument in source * Fix typos
* input/config: add button scroll lock (#3189)unrealhoang2023-09-061-0/+4
|
* internal: Formatter rework (#3186)Vaxry2023-09-061-19/+19
|
* input: minor constraint fixesvaxerski2023-09-041-9/+16
| | | | fixes the confined region, warping issues, etc. Closes #3158
* wlr-ext-workspace: remove protocol implvaxerski2023-09-011-7/+1
| | | | Various reasons: 1st, memory issues. 2nd, MR got closed (see https://gitlab.freedesktop.org/wlroots/wlr-protocols/-/merge_requests/35) 3rd, not needed anymore (waybar has its own hyprland/workspaces module)
* decos: groupbar mouse interaction (#3102)MightyPlaza2023-08-301-4/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * allow groupbar clicking modified: src/Window.cpp modified: src/Window.hpp modified: src/managers/input/InputManager.cpp modified: src/render/decorations/CHyprGroupBarDecoration.cpp modified: src/render/decorations/CHyprGroupBarDecoration.hpp * remove setting pos inside insertWindowToGroup() modified: src/Window.cpp modified: src/layout/DwindleLayout.cpp modified: src/layout/MasterLayout.cpp modified: src/managers/KeybindManager.cpp * add group window by index and group size functions modified: src/Window.cpp modified: src/Window.hpp modified: src/managers/input/InputManager.cpp * allow dragging into groupbar modified: src/Window.cpp modified: src/layout/DwindleLayout.cpp modified: src/layout/MasterLayout.cpp * allow dragging from groupbar modified: src/managers/KeybindManager.cpp * try groupbar clicking before border resize modified: src/managers/input/InputManager.cpp * block grabbing groupbar on floating (crash) remove later when crashing is fixed modified: src/managers/KeybindManager.cpp * remove redundant { } modified: src/layout/DwindleLayout.cpp modified: src/layout/MasterLayout.cpp * implement getWindowDecorationBox() modified: src/Window.cpp modified: src/Window.hpp modified: src/layout/DwindleLayout.cpp modified: src/layout/MasterLayout.cpp modified: src/managers/KeybindManager.cpp modified: src/managers/input/InputManager.cpp modified: src/render/decorations/CHyprDropShadowDecoration.cpp modified: src/render/decorations/CHyprGroupBarDecoration.cpp modified: src/render/decorations/IHyprWindowDecoration.cpp modified: src/render/decorations/IHyprWindowDecoration.hpp * fix crash when moveoutofgroup in floating windows also removes dragging from floating windows limitation modified: src/layout/IHyprLayout.cpp modified: src/managers/KeybindManager.cpp * use CRegion in getWindowDecorationBox() modified: src/helpers/Region.cpp modified: src/helpers/Region.hpp modified: src/layout/DwindleLayout.cpp modified: src/layout/MasterLayout.cpp modified: src/managers/KeybindManager.cpp modified: src/managers/input/InputManager.cpp modified: src/render/decorations/IHyprWindowDecoration.cpp modified: src/render/decorations/IHyprWindowDecoration.hpp * add groupbar scrolling modified: src/config/ConfigManager.cpp modified: src/managers/input/InputManager.cpp * change name to getWindowDecorationRegion() modified: src/layout/DwindleLayout.cpp modified: src/layout/MasterLayout.cpp modified: src/managers/KeybindManager.cpp modified: src/managers/input/InputManager.cpp modified: src/render/decorations/IHyprWindowDecoration.cpp modified: src/render/decorations/IHyprWindowDecoration.hpp * make dragging from group less hacky for floating modified: src/managers/KeybindManager.cpp
* input: fix xwayland constraint calcsvaxerski2023-08-301-3/+5
| | | | some minor adjustments, fixes #3028
* input: warp in unconstrainMousevaxerski2023-08-301-1/+7
| | | | XWayland coord translation would fuck up if we did this in destroyConstraint
* input: improved path handling; null check return value of fopen. (#3061)memchr2023-08-251-3/+2
|
* input: sanitize newlines in device namesvaxerski2023-08-251-1/+2
| | | | fixes #3066 by replacing newlines with dashes in device names
* input: unify constraint hint logicvaxerski2023-08-181-25/+23
| | | | Unifies the constraint hint logic. Previously, ignoring the stupid conditions, unscaled hints were mistaken with scaled coordinates.