mirror of
https://github.com/labwc/labwc.git
synced 2025-10-31 22:25:34 -04:00
scaled-icon-buffer: add icon priority
Co-Authored-By: tokyo4j <hrak1529@gmail.com>
This commit is contained in:
parent
e72f862650
commit
acd2a23f1b
7 changed files with 118 additions and 38 deletions
|
|
@ -328,6 +328,15 @@ fill_window_rule(char *nodename, char *content, struct parser_state *state)
|
|||
/* Properties */
|
||||
} else if (!strcasecmp(nodename, "serverDecoration")) {
|
||||
set_property(content, &state->current_window_rule->server_decoration);
|
||||
} else if (!strcasecmp(nodename, "iconPriority")) {
|
||||
if (!strcasecmp(content, "client")) {
|
||||
state->current_window_rule->icon_prefer_client = LAB_PROP_TRUE;
|
||||
} else if (!strcasecmp(content, "server")) {
|
||||
state->current_window_rule->icon_prefer_client = LAB_PROP_FALSE;
|
||||
} else {
|
||||
wlr_log(WLR_ERROR,
|
||||
"Invalid value for window rule property 'iconPriority'");
|
||||
}
|
||||
} else if (!strcasecmp(nodename, "skipTaskbar")) {
|
||||
set_property(content, &state->current_window_rule->skip_taskbar);
|
||||
} else if (!strcasecmp(nodename, "skipWindowSwitcher")) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue