summaryrefslogtreecommitdiff
path: root/src/managers/KeybindManager.cpp
Commit message (Collapse)AuthorAgeFilesLines
* lockgroups fix (#2636)MightyPlaza2023-07-031-1/+2
|
* groupbar fixes (#2630)MightyPlaza2023-07-031-3/+12
| | | | | | | | | | | | | | Fixes multiple groupbar decoration issues: - togglegroup removes fullscreen to avoid to avoid weird state - fixes issue where a group had multiple windows with head = true - fixes issue where merging 2 groups would cause a window to have 2 groupbar decorations - fixes issue where merging a group with more than 1 window into another group would make windows have no groupbar decoration - fixes issue where ungrouping windows could just move them into another group on the same workspace --------- Co-authored-by: vaxerski <43317083+vaxerski@users.noreply.github.com>
* keybinds: remove old todovaxerski2023-06-211-1/+0
|
* internal: minor style fixesvaxerski2023-06-201-13/+10
|
* Implement pass binds (#2503)outfoxxed2023-06-141-1/+5
| | | | | | | | | | * Implement pass binds Pass binds run the associated dispatcher but do not prevent windows from receiving the bind. * Fix pass binds not working properly with release binds * Rename `pass` to `nonConsuming`
* feat: add variable to customize locked group border color (#2507)memchr2023-06-131-0/+2
| | | | | added variables: - general:col.group_border_locked - general:col.group_border_locked_active
* feat: add lockactivegroup dispatcher (#2478)memchr2023-06-091-0/+18
| | | | | | | | | | | | | | | | | * feat: add lockactivegroup dispatcher The `lockactivewindow` dispatcher takes `lock`, `toggle` or `unlock` as arguments. When a group is locked, no window or group can be added to it, nor can it be added to another group, but the `moveintogroup` and `moveoutofgroup` dispatches are not affected. Implementation details: the lock is implement via `SGroupData.locked` flag (defaults to false). The flag is only relevant to the group head, and upon the group head's succession, the flag will be passed down to the new head. Meanwhile, the old head's flag will be set to false. The flag is set to false when a group is dismissed. New condition checks have been added to the dwindle and master layout to check if target group is unlocked (and if the source is also a group and unlocked) before adding windows to the target group. * refactor: `lockactivegroup dispatcher code ordering
* input: update surface input on changeworkspacevaxerski2023-06-091-0/+3
|
* Make movetoworkspace register previous workspace (#2436)staz2023-06-051-3/+7
| | | | | * Make movetoworkspace register previous workspace * style: no braces + format with clang-format
* input: force focus on movefocusvaxerski2023-05-311-0/+2
|
* keybinds: fix tryMoveFocusToMonitor with specialvaxerski2023-05-291-5/+7
|
* focus: fix #1675 window not scrollable after movefocus (#2390)Jeremy Huang2023-05-291-0/+1
|
* focus: make cursor follow movewindow (#2374)Jeremy Huang2023-05-271-1/+1
|
* decos: recalc on addvaxerski2023-05-231-0/+4
|
* moveActiveToWorkspace: update last window of old wsvaxerski2023-05-221-7/+11
|
* don't swap workspaces if monitors are the same (#2322)Anthony Ruhier2023-05-171-1/+1
| | | | Return swapActiveWorkspaces early if MON1 and MON2 are equals, to avoid buggy behavior.
* internal: remove check for negative exact vector argsvaxerski2023-05-151-0/+6
|
* internal: fix -Wsign-compare and -Wunused-variable warningsvaxerski2023-05-021-2/+2
|
* keybinds: simulate workspace switch on focusWindow to another wsvaxerski2023-05-011-1/+11
|
* keybinds: fix move to namedvaxerski2023-04-261-1/+3
|
* Added moveCursor dispatcher (#2100)mekb2023-04-231-0/+29
| | | | | * Added moveCursor dispatcher * fix error message for moveCursor
* input: improve mouse release conditionsvaxerski2023-04-201-0/+4
|
* dispatchers: fix movetoworkspace with bound ws-esvaxerski2023-04-171-1/+1
|
* dispatchers: fix missing log paramvaxerski2023-04-171-2/+2
|
* dispatchers: fix named ws-es on changeworkspacevaxerski2023-04-161-1/+1
|
* damage: fix damage on moves / workspace changesvaxerski2023-04-151-0/+4
|
* keybinds: minor adjustments to workspacevaxerski2023-04-141-7/+8
|
* workspace: don't lose monitor with refocus on no warpsvaxerski2023-04-141-2/+6
|
* keybinds: only warp on different monitor wsvaxerski2023-04-141-1/+3
|
* workspaces: fixup workspaces not activating on workspace switchvaxerski2023-04-141-1/+5
|
* keybinds: remove old commentvaxerski2023-04-141-3/+0
|
* misc: fix a warningvaxerski2023-04-141-1/+0
|
* internal: workspace manip handling reworkvaxerski2023-04-141-322/+75
|
* keybinds: more intelligent fallback on silent movevaxerski2023-04-141-2/+2
|
* internal: don't sanity check workspaces on internal ws callsvaxerski2023-04-131-1/+2
|
* keybinds: refocus properly on silent movevaxerski2023-04-131-1/+6
|
* make ext_workspace_unstable impl more atomic (#2023)Max Verevkin2023-04-111-0/+3
|
* keybinds: send pass with a null keymapvaxerski2023-04-101-3/+4
|
* Implement window move (#2018)Hilmar Wiegand2023-04-101-47/+53
|
* Revert "keybinds: avoid sending release on suppressed press"vaxerski2023-04-101-7/+3
| | | | | | Issues with XWayland This reverts commit a1b1480c21a3ca7c35fd5ab99c966322f64b2f3b.
* Allow movefocus for empty workspaces (#2011)Hilmar Wiegand2023-04-101-7/+46
| | | | | | | | | | | * Allow switching to empty workspaces using movefocus * Allow switching to other workspaces when no windows are focused * Implement review feedback * Add option to disable focus fallback * Remove unnecessary braces
* keybinds: avoid sending release on suppressed pressvaxerski2023-04-101-3/+7
|
* GlobalShortcuts protocol impl (#1886)Vaxry2023-04-091-2/+19
| | | | | | | Implements the `hyprland-global-shortcuts-v1` protocol --------- Co-authored-by: Mihai Fufezan <fufexan@protonmail.com>
* keybinds: allow MOD1 as an alias of ALTvaxerski2023-04-061-1/+1
|
* Misc FreeBSD fixes (#1926)Jan Beich2023-03-311-2/+2
| | | | | | | | | | | | | | | | | | | | | * helpers: drop incomplete GNU/kFreeBSD bits Debian with FreeBSD kernel lacks Wayland-related packages and is not officially supported since Jessie. * KeybindManager: check VT ioctl availability instead of hardcoding * plugins: add missing header for libc++ after 430778293e4c src/plugins/PluginAPI.cpp:299:33: error: implicit instantiation of undefined template 'std::basic_istringstream<char>' std::istringstream inStream(SYMBOLS); ^ /usr/include/c++/v1/iosfwd:140:32: note: template is declared here class _LIBCPP_TEMPLATE_VIS basic_istringstream; ^ * plugins: prefer llvm-nm with Clang after 430778293e4c nm: invalid option -- j
* Fix some typos (#1907)Alexander Seiler2023-03-291-2/+2
| | | Signed-off-by: Alexander Seiler <seileralex@gmail.com>
* keybinds: improve movefocus on fullscreenvaxerski2023-03-271-1/+2
|
* internal: wrap wlr surfaces (#1822)Vaxry2023-03-201-4/+4
|
* Focus: warp cursor on movewindowvaxerski2023-03-201-0/+2
|
* groups: fix moving between displaysvaxerski2023-03-181-1/+2
|