Hyprland/src/managers
memchr bca3068db2
feat: add lockactivegroup dispatcher (#2478)
* 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
2023-06-09 23:44:18 +02:00
..
input deps: update wlroots 2023-06-03 12:20:28 +02:00
AnimationManager.cpp animationmgr: allow empty avars 2023-05-15 17:11:51 +01:00
AnimationManager.hpp Update the debug overlay 2023-03-03 12:15:59 +00:00
EventManager.cpp Fix broken pipe crash when event listener terminates (#2339) 2023-05-21 14:38:18 +02:00
EventManager.hpp Added clang format (#1239) 2022-12-16 17:17:31 +00:00
HookSystemManager.cpp Plugin System (#1590) 2023-02-27 12:32:38 +00:00
HookSystemManager.hpp Plugin System (#1590) 2023-02-27 12:32:38 +00:00
KeybindManager.cpp feat: add lockactivegroup dispatcher (#2478) 2023-06-09 23:44:18 +02:00
KeybindManager.hpp feat: add lockactivegroup dispatcher (#2478) 2023-06-09 23:44:18 +02:00
LayoutManager.cpp fix warns 2023-03-04 00:53:42 +00:00
LayoutManager.hpp Plugin System (#1590) 2023-02-27 12:32:38 +00:00
ProtocolManager.cpp GlobalShortcuts protocol impl (#1886) 2023-04-09 13:48:20 +01:00
ProtocolManager.hpp GlobalShortcuts protocol impl (#1886) 2023-04-09 13:48:20 +01:00
SessionLockManager.cpp deps: update wlroots 2023-06-03 12:20:28 +02:00
SessionLockManager.hpp Implement ext-session-lock-v1 2023-02-03 11:58:55 +00:00
ThreadManager.cpp Initialize priority managers before server init 2023-03-05 13:37:21 +00:00
ThreadManager.hpp Added clang format (#1239) 2022-12-16 17:17:31 +00:00
XWaylandManager.cpp xwayland: allow initial focus to dialogs 2023-05-02 14:44:21 +01:00
XWaylandManager.hpp Added decoration reserved area 2023-02-28 19:36:36 +00:00