layout: add drag_into_group to control merging dragging windows (#8004)

This commit is contained in:
Aqa-Ib
2024-10-08 12:20:41 +02:00
committed by GitHub
parent 4711796d38
commit 45e82199fb
4 changed files with 63 additions and 25 deletions

View File

@@ -778,6 +778,12 @@ inline static const std::vector<SConfigOptionDescription> CONFIG_OPTIONS = {
.type = CONFIG_OPTION_BOOL,
.data = SConfigOptionDescription::SBoolData{true},
},
SConfigOptionDescription{
.value = "group:drag_into_group",
.description = "whether dragging a window into a unlocked group will merge them. Options: 0 (disabled), 1 (enabled), 2 (only when dragging into the groupbar)",
.type = CONFIG_OPTION_CHOICE,
.data = SConfigOptionDescription::SChoiceData{0, "disabled,enabled,only when dragging into the groupbar"},
},
/*
* group:groupbar: