summaryrefslogtreecommitdiff
path: root/src/managers/input
Commit message (Collapse)AuthorAgeFilesLines
...
* input: fix force_zero_scaling for tablet and touch (#3644)Antoine Dutot2023-10-272-8/+14
| | | | | | | * Attempt to fix force_zero_scaling for tablet and touch for XWayland apps. * Formated using clang-format. * Simpler way to compute touch origin.
* 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-212-6/+6
|
* 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-152-4/+4
| | | | | | | (#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-232-7/+16
|
* 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
* logging: implement std::formatter for some types (#3380)memchr2023-09-201-1/+1
|
* 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-132-1/+19
|
* fix: inconsistent behaviour where last workspace was not saved (#3261)memchr2023-09-111-0/+1
|
* 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-063-8/+8
| | | 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-064-22/+22
|
* 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)
* text-input-v1: Fix preedit styling in chromium (#3131)q234rty2023-09-011-3/+3
|
* 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
* gestures: Swipe direction lock (#3052)end-42023-08-231-8/+18
|
* input: unify constraint hint logicvaxerski2023-08-182-25/+24
| | | | Unifies the constraint hint logic. Previously, ignoring the stupid conditions, unscaled hints were mistaken with scaled coordinates.
* animations: add slidefade and slidefadevert styles for workspaces (#3008)end-42023-08-171-2/+4
| | | | | | | | | | | | | | | * add slidefade and slidefadevert animations * fix swiping for slidefadevert * rename minPerc to movePerc for slidefade anim styles * change default slidefade percentage to 100% * remove useless comments * findlastof + 1 * debug logging for slidefade/slidefadevert percentage
* 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
|