Hyprland/src
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
..
config rules: add nodim 2023-05-31 21:11:20 +02:00
debug hyprctl: recalc layout on setprop 2023-06-04 21:35:23 +02:00
events xwayland: disconnect events on destroy 2023-06-05 20:51:47 +02:00
helpers noxwl: add missing stubs 2023-06-03 13:01:32 +02:00
hyprerror Declarative plugin management (#2180) 2023-05-01 15:10:53 +01:00
init disallow running with sudo 2022-05-19 19:28:15 +02:00
layout feat: add lockactivegroup dispatcher (#2478) 2023-06-09 23:44:18 +02:00
managers feat: add lockactivegroup dispatcher (#2478) 2023-06-09 23:44:18 +02:00
plugins decos: recalc on add 2023-05-23 14:26:38 +02:00
protocols includes: remove redundant from screencopy 2023-05-07 00:11:33 +01:00
render internal: make borderSize prop overridable 2023-06-04 21:35:23 +02:00
wlrunstable wlr_ext_workspaces: honor activate from client + format 2023-05-22 19:36:47 +02:00
Compositor.cpp deps: update wlroots 2023-06-03 12:20:28 +02:00
Compositor.hpp wlr_ext_workspaces: honor activate from client + format 2023-05-22 19:36:47 +02:00
SharedDefs.hpp pluginapi: add separate window render events 2023-05-26 13:07:45 +02:00
Window.cpp feat: add lockactivegroup dispatcher (#2478) 2023-06-09 23:44:18 +02:00
Window.hpp feat: add lockactivegroup dispatcher (#2478) 2023-06-09 23:44:18 +02:00
defines.hpp internal: add tag to version, send hash in release ci 2023-04-27 14:28:40 +01:00
includes.hpp includes: use libdrm prefix for include 2023-05-07 00:11:01 +01:00
main.cpp main: fix segfault when -c is given with no other arguments (#2470) 2023-06-09 12:15:18 +02:00
meson.build meson: add pango deps 2023-03-20 15:39:43 +00:00