window-rules: add ignoreFocusRequest property

This allows to reject focus requests from specific applications.
This commit is contained in:
Consolatis 2023-09-03 14:01:40 +02:00
parent 272222e3c9
commit bb235337d8
6 changed files with 21 additions and 0 deletions

View file

@ -150,6 +150,8 @@ fill_window_rule(char *nodename, char *content)
set_property(content, &current_window_rule->skip_taskbar);
} else if (!strcasecmp(nodename, "skipWindowSwitcher")) {
set_property(content, &current_window_rule->skip_window_switcher);
} else if (!strcasecmp(nodename, "ignoreFocusRequest")) {
set_property(content, &current_window_rule->ignore_focus_request);
/* Actions */
} else if (!strcmp(nodename, "name.action")) {