summaryrefslogtreecommitdiff
path: root/src/managers
Commit message (Collapse)AuthorAgeFilesLines
...
* keybinds: better follow xkb translation stateVaxry2024-03-021-3/+4
| | | | fixes #4908
* animations: Refactor AnimatedVariable (#4911)GartoxFR2024-03-029-119/+90
| | | | | | | | | | | | | | | | | | | | | | | * animation: Refactor AnimatedVariable This commit decomposes the AnimatedVariable class into a base class with the common attribute to all variable types and a templated derived type containing strongly typed info on the type being animated. Access to the typed version is perfomed using the visitor pattern. A utility is provided to build a visitor on the fly using lambdas. Adding a new type to be animated should just be a matter of adding the typed in the list defined by the ANIMABLE_TYPES macro The size of the commit is justified by the API change in the AnimatedVariable class. No more vec(), fl() or col() method but a unified value() method. * animation: Remove visitor pattern * animation: Fix coding style * animation: Fix coding style
* core: add additional headers for Popup.cpp and InputMethodRelay.hpp (#4909)Brett Alcox2024-03-011-1/+2
|
* core: fix crashes on access of deleted wlr_ surfaceVaxry2024-02-291-0/+6
| | | | ref fixes #4893
* xwaylandmgr: don't read xwayland surface from unmapped xwaylandVaxry2024-02-291-2/+2
|
* xdg: check for floating conditions before sending tiled size hintVaxry2024-02-282-9/+9
| | | | ref #4871
* layers: add fully featured animationsVaxry2024-02-281-1/+22
| | | | | | | | Adds configs and layerrules to handle them alas fixes #981 I have cooked
* keybinds: unconstrain mouse on focusmonitor and cyclenext (#4863)JManch2024-02-281-9/+4
|
* config: Add option to resolve keybinds by sym instead of code (#4851)Tobias Zimmermann2024-02-272-3/+10
| | | | | | | | | | | | | | This commit adds the new configuration option 'resolve_binds_by_sym' which can be set globally or per-device. It is off by default, which preserves the current behavior. This setting only affects the behavior of keybinds that are defined via key symbols, not those defined via keycode. Binds defined by symbols currently activate if the keycode pressed would generate the specified symbol on the first layout specified in the input section. If enabled, keys pressed on the relevant device will instead match keybinds by the symbols they produce with their current layout. Closes #1881.
* wayland: implement keyboard_shortcuts_inhibit_v1Vaxry2024-02-272-0/+10
| | | | fixes #4568
* input: Map touch devices and tablets bound to an output (#3544)Philip Damianik2024-02-272-7/+23
| | | | | | | | | | | * Map bound touch devices and tablets to an output * Add "[[Auto]]" default option for auto detecting outputs for touch inputs * Bind new monitors to configured touch and tablet devices * Use Monitor::matchesStaticSelector in CConfigManager::getMonitorRuleFor * Use Monitor::matchesStaticSelector in CCompositor::getMonitorFromString
* IME: don't set modifiers on grab destroyVaxry2024-02-271-4/+0
|
* socket2: move to the wayland event loopVaxry2024-02-262-50/+67
|
* keybinds: fix movewindoworgroup onto empy workspace on next monitor (#4486)Bernd Müller2024-02-261-1/+5
| | | | | | | | | * fix: movewindoworgroup when no window or group is in desired direction, e.g. move window onto empty workspace on next monitor * fix: movewindoworgroup when no window or group is in desired direction, e.g. move window onto empty workspace on next monitor * reset flake.nix * add: changes mentioned in review of #4486
* keybinds: focus floating on top of fsVaxry2024-02-261-7/+16
|
* keybinds: fix focuswindow for fullscreen (#4840)shezdy2024-02-261-6/+20
| | | | | | | | | * focuswindow fix * fix format --------- Co-authored-by: ddmetz <77217897+ddmetz@users.noreply.github.com>
* animationmgr: expand layer box for damageVaxry2024-02-221-0/+5
|
* sessionLock: send preferred fractional scalevaxerski2024-02-201-0/+2
|
* keybinds: fix keys without keysyms triggering random binds (#4739)rszyma2024-02-191-1/+13
|
* Migrate the config to hyprlang (#4656)Vaxry2024-02-187-165/+172
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Migrate to hyprlang * pop up errors * fix swapped args * Meson & Nix: build with hyprlang * CI: add hyprlang to setup action * add infra for plugin stuff * fix hyprctl getoption * fix hyprctl getoption with json * format * fix post parse logic * fix autogen config * oops missed exec-once * fmt * fix ws rules * require 0.3.0 for hyprlang * nix: flaek * minor type fixes * fix cfg usages in swipe * use cvarlist for ws rules * fix throw in addPluginConfigVar * Nix: update hyprlang * minor fixes * fix disableLogs * mention hyprlang docs * bump hyprlang dep in cmake * Meson: bump min hyprlang version Nix: update hyprlang * minor fix * Nix: update meson patch --------- Co-authored-by: Mihai Fufezan <fufexan@protonmail.com>
* keybinds: Add an option to pass a window argument to moveoutofgroup (#4724)Federico Maria Morrone2024-02-171-3/+8
| | | | | * keybinds: allow passing window to moveoutofgroup * keybinds: cleaner handling of certain args
* dispatchers: add Fullscreen without sending fullscreen to application (#4720)epicgamer2567052024-02-171-0/+3
| | | | | | | | | | | * Add extra option to fullscreen * Remove useless branch fixes #1817 --------- Co-authored-by: matteo bob <matteo4375@gmail.com>
* input: refocus on completed dragsVaxry2024-02-171-1/+1
|
* input: fix follow_focusVaxry2024-02-151-2/+2
|
* input: don't schedule frame on cursor move on hw cursorsVaxry2024-02-151-1/+2
| | | | | | spams unnecessary frames. Maybe we should ignore empty damage frame requests too? ref #3747 #3490
* input: avoid rampant refocuses on popupsVaxry2024-02-151-2/+10
|
* input: log cursor image requestsVaxry2024-02-151-0/+4
|
* dwindle: add swapsplit dispatcher (#4702)Niklas Haas2024-02-142-0/+17
| | | | | | This is distinct from `swapwindow` in that it allows swapping the entire tree node with its neighbour. Fixes: https://github.com/hyprwm/Hyprland/issues/4701
* input: avoid reassigns of unchanged surfaces in processMouseRequestVaxry2024-02-121-2/+7
|
* input: focus monitor on mouse downVaxry2024-02-101-2/+4
| | | | fixes #4649
* input: partially revert #4514Vaxry2024-02-101-6/+2
| | | | issues with refocus in #4649
* keybinds: Fix focus not moving along when moving workspace (#4660)Sefa Eyeoglu2024-02-091-2/+6
| | | | | --------- Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
* keybinds: focusWorkspaceOnCurrentMonitor: use focused monitor instead (#4625)Epilepsy Gatherings2024-02-051-1/+1
|
* xwaylandmgr: proper clamping for setWindowSizeVaxry2024-02-051-1/+1
| | | | closes #4622 fixes #4621
* xwaylandmgr: clamp size in setWindowSizeVaxry2024-02-051-0/+2
| | | | fixes #4586
* hyprctl: move to a class and unify commandsVaxry2024-02-051-2/+0
|
* input: focus window on mouse down on decoration (#4514)MightyPlaza2024-02-042-13/+18
| | | Also unifies vectorToWindow funcs
* keybinds: fix ignoremods with releaseVaxry2024-02-021-1/+1
|
* monitor: wrap usage of wlr_output_stateVaxry2024-01-281-2/+2
| | | | | | for better control and convenience in usage. fixes #4546
* deps: update wlrootsVaxry2024-01-272-3/+4
| | | | drops requirement for WLR_DRM_NO_ATOMIC provided kernel >= 6.8
* input: Allow disabling touchscreen input (#4517)Zach DeCook2024-01-241-2/+6
| | | | | * enable/disable touch device * ConfigManager: update documentation of 'enabled'
* keybinds: avoid duplicated held keys, only use last, remove allvaxerski2024-01-191-2/+0
| | | | ref #4471
* input: track exclusive LSesvaxerski2024-01-191-13/+16
| | | | ref #4465
* core: improve cleanup logicvaxerski2024-01-193-1/+6
|
* input: partially revert #4401vaxerski2024-01-171-1/+1
| | | | ref #4465
* keybinds: Add dispatcher for xmonad/qtile-style workspace switching (#4439)virchau132024-01-152-58/+102
| | | | | | | | | | | | | | | * feat: implement xmonad/qtile-style workspace switching Implements the focusWorkspaceOnCurrentMonitor dispatcher and function, which implements XMonad/Qtile-style workspace switching. When called, focusWorkspaceOnCurrentMonitor will: 1. Send the requested workspace to the current monitor, 2. If the workspace was previously active on a different monitor, replace it with the workspace that was previously active on the current monitor, 3. Focus the workspace on the current monitor. * fix: address PR comments
* layershell: Fix greedy mouse grab from keyboard_interactive layer (#4401)Zach DeCook2024-01-121-2/+2
| | | | | * Layer: Don't allow a keyboard-layer to steal focus from other layers * Input: Don't change keyboard focus on click if focus is locked
* swipe: Prevent hiding current workspace when swiping (#4417)scorpion-262024-01-111-2/+2
| | | | | | | When workspace_swipe_use_r is enabled, swiping from WS 1 to a non-empty WS 2 would hide WS 1 (Similar effect to issue #4076). This is caused by a faulty check which doesn't consider, that workspaceIDLeft could be the current workspace. This bug is only a problem for r, because m wraps around on WS 1 m-1, whereas r stays on WS 1.
* keybinds: fix tracking of sent key statesvaxerski2024-01-102-20/+26
|
* keybinds: Refocus only if the silently moved window had the focus (#4328)dranull2024-01-021-4/+6
|