mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-04 18:45:59 +01:00
bca3068db2
* 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 |
||
---|---|---|
.. | ||
config | ||
debug | ||
events | ||
helpers | ||
hyprerror | ||
init | ||
layout | ||
managers | ||
plugins | ||
protocols | ||
render | ||
wlrunstable | ||
Compositor.cpp | ||
Compositor.hpp | ||
defines.hpp | ||
includes.hpp | ||
main.cpp | ||
meson.build | ||
SharedDefs.hpp | ||
Window.cpp | ||
Window.hpp |