snap: add option to respect gaps (#10524)

This commit is contained in:
littleblack111
2025-05-28 21:20:03 +08:00
committed by GitHub
parent 5cc6cb4945
commit 9bf1b49144
3 changed files with 37 additions and 18 deletions

View File

@@ -128,6 +128,12 @@ inline static const std::vector<SConfigOptionDescription> CONFIG_OPTIONS = {
.type = CONFIG_OPTION_BOOL,
.data = SConfigOptionDescription::SBoolData{false},
},
SConfigOptionDescription{
.value = "general:snap:respect_gaps",
.description = "if true, snapping will respect gaps between windows",
.type = CONFIG_OPTION_BOOL,
.data = SConfigOptionDescription::SBoolData{false},
},
/*
* decoration: