summaryrefslogtreecommitdiff
path: root/src/managers/input
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* keybinds: Keep aspect ratio (#2907)MightyPlaza2023-08-081-9/+8
|
* 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-242-16/+41
|
* 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-133-11/+11
|
* 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
|
* swipe: fix mixup of r/mvaxerski2023-07-041-2/+2
|
* rules: add stayfocusedvaxerski2023-07-041-3/+8
|
* gestures: add workspace_swipe_use_rvaxerski2023-07-011-4/+6
|
* xwayland: add force_zero_scalingvaxerski2023-06-111-0/+3
|
* deps: update wlrootsvaxerski2023-06-031-4/+4
|
* input: force focus on movefocusvaxerski2023-05-312-8/+14
|
* touch: fix double offset in localvaxerski2023-05-241-6/+3
|
* input: only configure newly added touch devicesvaxerski2023-05-242-7/+17
|
* 1483: fix crash on last display disconnect (#2344)Russell Greene2023-05-221-0/+4
|
* input: reset cursor hide timer on tabletvaxerski2023-05-201-0/+2
|
* input: check for matrix availability in touch configvaxerski2023-05-141-1/+2
|
* input: add custom accel profilesvaxerski2023-05-051-0/+13
|
* input: don't refocus on draggingvaxerski2023-05-011-0/+6
|
* Revert "input: make overlay layers precede constraints"vaxerski2023-04-251-58/+54
| | | | | | This reverts commit 1e526411b6207349f1ea0341ab3319ff880a898d. Issues with input
* input: make overlay layers precede constraintsvaxerski2023-04-251-54/+58
|
* Add follow mouse mode to avoid refocusing under cursor (#2135)outfoxxed2023-04-252-1/+7
| | | * Add follow mouse mode to avoid refocusing under cursor
* Fix dragging cursor being forced on fullscreen windows (#2115)outfoxxed2023-04-211-2/+6
| | | | | | | Fix two edge cases causing the dragging mouse cursor to be forced on fullscreen windows: - hovering over a window border and running the fullscreen dispatcher - moving mouse focus from a monitor with the resize cursor set to a different monitor with a fullscreen window
* Format: use %lx for all addressesvaxerski2023-04-173-8/+8
|
* Render: add cursor_zoomvaxerski2023-04-161-0/+4
|
* internal: workspace manip handling reworkvaxerski2023-04-141-4/+4
|
* input: fix kb focus on top layers without interactive flagvaxerski2023-04-091-1/+2
|
* Fix swiping onto a new workspace with multiple monitors. (#1971)Andrew Pritchard2023-04-071-4/+16
| | | | | | | | | | | | | | | | | | | | | The previous code could run into issues into the following circumstances: * The focused monitor is on its rightmost workspace with ID `i`. * Another monitor has a workspace with ID `i+1`. * `workspace_swipe_create_new` is enabled. Then, swiping rightwards attempts to target a new workspace with ID `i+1`: completing the swipe gesture unintentionally focuses that workspace on whichever monitor it's already on while leaving the active monitor in a broken state where it shows no windows but creates new windows on the workspace it was previously on; and cancelling the swipe gesture shifts the entire workspace `i+1` to the right by the width of the active monitor. By choosing an ID that doesn't exist, this problematic behavior is avoided. More specifically, it's the smallest ID greater than any existing workspace's ID, because otherwise the new workspace that was seemingly just created to the right of the rightmost workspace could end up somewhere in the middle of the workspace order.
* swipe: block on locked sessionvaxerski2023-04-071-1/+1
|
* input: ignore constraints on touchvaxerski2023-04-061-2/+2
|
* input: don't set icon on held buttons without a dragvaxerski2023-04-031-1/+1
|