summaryrefslogtreecommitdiff
path: root/src/managers/input/InputManager.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* 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.
* renderer: Border improvements (#2986)MightyPlaza2023-08-171-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * simplify getting border size modified: src/Window.cpp modified: src/Window.hpp modified: src/layout/DwindleLayout.cpp modified: src/layout/MasterLayout.cpp modified: src/render/decorations/CHyprGroupBarDecoration.cpp * fix border damage and input box modified: src/Window.cpp modified: src/managers/AnimationManager.cpp * add border size in resize_on_border box modified: src/managers/input/InputManager.cpp * simplify border (fixes possible typo) modified: src/Window.cpp * use updateSpecialRenderData() modified: Window.cpp modified: Window.hpp modified: events/Windows.cpp modified: layout/DwindleLayout.cpp modified: layout/IHyprLayout.cpp modified: layout/MasterLayout.cpp modified: render/Renderer.cpp * update window workspace rule data on reload modified: src/config/ConfigManager.cpp * use rounding() modified: src/Window.cpp
* input: notify idle about activity on mouse move regardless of focusvaxerski2023-08-131-3/+3
|
* Close keymap files. Fixes #2904 (#2905)Michael2023-08-071-2/+5
| | | Signed-off-by: Michael Pacheco <git@michaelpacheco.org>
* input: fix and unify client checking in mouseRequestsvaxerski2023-08-031-11/+4
|
* input: fix stylingvaxerski2023-07-251-22/+13
|
* input: add support for cursor-shape-v1vaxerski2023-07-241-12/+31
|
* input: Fix #2376 mouse movement bug in XWayland (#2776)Rachel Knight2023-07-221-1/+1
|
* internal: Wrap regions (#2750)Vaxry2023-07-191-2/+2
|
* deps: update wlroots (#2734)Jan Beich2023-07-181-8/+8
|
* idle: implement new protocolvaxerski2023-07-131-4/+4
|
* input: schedule frame on mouse movevaxerski2023-07-091-0/+2
|
* config: fix reading touchpad values to non-touchpad per-device cfgsvaxerski2023-07-061-18/+23
|
* eventmanager: drop obsoleted ignore events flag (#2660)Mykola Perehudov2023-07-061-4/+4
| | | | This flag became obsoleted in commit 287e6c4ede30c8e5e85863cd85f157e17e24879c
* input: remove old redundant codevaxerski2023-07-051-5/+0
|