summaryrefslogtreecommitdiff
path: root/src/managers
Commit message (Collapse)AuthorAgeFilesLines
* binds: add ignoreMods flagVaxry2023-10-172-2/+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-154-17/+17
| | | | | | | (#3572) * Replace find() with C++20 starts_with() and ends_with() * Replace find() with C++20 contains()
* groups: ensure consistency in dispatcher behavior with global group lock (#3531)memchr2023-10-111-2/+16
|
* groups: create group and groupbar config sections (#3522)MightyPlaza2023-10-102-4/+3
| | | | | | | | | | | | | | | | | | | | * 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
* dispatchers: Add option to center the cursor on the focused window when ↵Philip Damianik2023-10-101-3/+8
| | | | | | | | | | | switching workspaces (#3528) * Add option for centering on workspace when switching workspace * Add option for centering on workspace when switching workspace --------- Co-authored-by: vaxerski <43317083+vaxerski@users.noreply.github.com>
* dispatchers: fix extra monitor offset when snapping floating (#3520)MightyPlaza2023-10-081-6/+6
| | | modified: src/managers/KeybindManager.cpp
* animationmgr: damage floating windows on workspace animvaxerski2023-10-071-0/+6
| | | | fixes #3514
* 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
|
* dispatchers: support number as arg in changegroupactive (#3329)memchr2023-09-231-0/+12
|
* input: fixup mouse down refocus conditionsvaxerski2023-09-231-1/+1
| | | | fixes #3402
* input: properly track mouse focus on drag operationsvaxerski2023-09-232-7/+16
|
* windowrules: add rule `group` to map windows grouped (#3279)memchr2023-09-222-64/+37
| | | | | * windows: add rule group to map windows grouped * group rule: use `invade` to force open a window in a locked group
* 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-213-2/+29
| | | 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-203-2/+4
|
* logging/format: use std::format_string to catch formatting string errors at ↵memchr2023-09-201-2/+2
| | | | | | | compile time (#3377) * fix(log): use constexpr format string * deprecate getFormat
* keybinds: focus last window on workspace change to another monvaxerski2023-09-181-1/+4
|
* input: guard constraint in unconstrainMousevaxerski2023-09-171-1/+2
|
* input: fix hints not being used if committed at the beginningvaxerski2023-09-151-3/+11
|
* socket2: emit lockgroups event (#3317)memchr2023-09-151-0/+2
|
* keybinds: warp cursor to correct window in moveWindowOutOfGroup (#3290)memchr2023-09-131-1/+1
|
* keybinds: avoid onWindowRemoved & onWindowCreated when group has one member ↵memchr2023-09-131-6/+10
| | | | | | (#3286) Make moveWindowOutOfGroup behave like toggleGroup on a group with single member, this prevents the window from moving around rabidly.
* keybinds: simulate movement on empty focus after workspace changevaxerski2023-09-131-1/+4
|
* input: don't refocus on switched workspace on the same monitorvaxerski2023-09-133-9/+23
|
* layout: add direction parameter to onWindowCreated and friends (#3269)memchr2023-09-132-7/+18
| | | | | | | | | | | | | | | | | | * feat(layout): add direction parameter to onWindowCreated and friends In addition: - Implement directional moveWindowOutOfGroup for `movewindoworgroup` when using dwindle layout. (augmentation of #3006) - Replace `DWindleLayout::OneTimeFocus` with `IHyprLayout::eDirection`. - Slight formatting change (clang-format). * fix: nullptr dereference in dwindle window creation * refactor: generalized eDirection * refactor: eliminate DIRECTION_NONE * Update IHyprLayout.hpp
* fix: inconsistent behaviour where last workspace was not saved (#3261)memchr2023-09-111-0/+1
|
* keybinds: unify changeworkspace dispatcher (#3250)memchr2023-09-111-59/+26
| | | | | | | | | | | * refactor: changeworkspace dispatcher * refactor: remove redundant focusWindow calls * refactor(changeworkspace): warp cursor to middle of last focused window * refactor: use rememberPrevWorkspace * Fix: `CWorkspace::rememberPreWorkspace` condition is illogical
* refactor: fix missed middle() call in CKeybindManagervaxerski2023-09-111-1/+1
|
* keybinds: movewindow to screen edge for floating windows (#3245)alaricljs2023-09-111-0/+18
| | | | | | | | | | | | * movewindow to screen edge for floating windows * review changes * constify vars --------- Co-authored-by: Leeman <lstrout@enlj.com> Co-authored-by: vaxerski <vaxry@vaxry.net>
* refactor: utilize 'middle()' method for window/montior center (#3253)memchr2023-09-111-12/+7
|
* input: do not process mouse in unsafe statevaxerski2023-09-101-2/+2
|
* feat: add a new movewindoworgroup dispatcher (#3006)memchr2023-09-102-22/+106
|
* xwayland: adjust coord calculationvaxerski2023-09-101-1/+1
| | | | coord exactly at the corner would be calc'd wrong
* keybinds: ignore conditions on special releasevaxerski2023-09-101-2/+3
| | | | while the previous commit ignores mods, we also need to ignore other conditions to avoid dangling presses
* keybinds: track pressed special bindsvaxerski2023-09-102-1/+15
| | | | Ignore mods only if we're processing a special bind, and only if it's pressed. Otherwise we might shadow normal key releases via ignoring mods. Fixes #3240
* keybinds: ignore mods on release of special bindsvaxerski2023-09-101-3/+6
| | | | fixes #3208
* refactor: replace lambdas with CKeybindManager::switchToWindow (#3229)memchr2023-09-102-94/+36
| | | | | | | moves `switchToWindow` lambdas to a single private method `CKeybindManager::switchToWindow()`. fixes #3227, as a by-product of the mouse motion simulation at the end of `CKeybindManager::switchToWindow()`.
* keybinds: Do not suppress pass and mouse release (#3219)shadowmax312023-09-091-2/+2
|
* internal: fix warningsvaxerski2023-09-071-1/+0
|