window-rules: add ignoreConfigureRequest

This allows to ignore X11 client side configure requests
like positioning and resizing and can be used to fight
some X11 applications that persist to have their windows
spawn at specific places and sizes.

Fixes: #1446
This commit is contained in:
Consolatis 2024-04-13 20:36:09 +02:00 committed by Johan Malm
parent 48e6c0009c
commit d67345564e
5 changed files with 15 additions and 2 deletions

View file

@ -209,6 +209,8 @@ fill_window_rule(char *nodename, char *content)
set_property(content, &current_window_rule->skip_window_switcher);
} else if (!strcasecmp(nodename, "ignoreFocusRequest")) {
set_property(content, &current_window_rule->ignore_focus_request);
} else if (!strcasecmp(nodename, "ignoreConfigureRequest")) {
set_property(content, &current_window_rule->ignore_configure_request);
} else if (!strcasecmp(nodename, "fixedPosition")) {
set_property(content, &current_window_rule->fixed_position);