ssd: make sizes of invisible SSD extents configurable

This commit is contained in:
Andrew J. Hesford 2025-01-17 11:07:07 -05:00
parent fa6e524412
commit 6b9cc5dd64
6 changed files with 20 additions and 8 deletions

View file

@ -1225,6 +1225,8 @@ entry(xmlNode *node, char *nodename, char *content, struct parser_state *state)
set_bool(content, &rc.resize_draw_contents);
} else if (!strcasecmp(nodename, "cornerRange.resize")) {
rc.resize_corner_range = atoi(content);
} else if (!strcasecmp(nodename, "minimumArea.resize")) {
rc.resize_minimum_area = MAX(0, atoi(content));
} else if (!strcasecmp(nodename, "mouseEmulation.tablet")) {
set_bool(content, &rc.tablet.force_mouse_emulation);
} else if (!strcasecmp(nodename, "mapToOutput.tablet")) {
@ -1501,6 +1503,7 @@ rcxml_init(void)
rc.resize_indicator = LAB_RESIZE_INDICATOR_NEVER;
rc.resize_draw_contents = true;
rc.resize_corner_range = -1;
rc.resize_minimum_area = 8;
rc.workspace_config.popuptime = INT_MIN;
rc.workspace_config.min_nr_workspaces = 1;