mirror of
https://github.com/vale981/bspwm
synced 2025-03-06 02:01:42 -05:00
Reject unknown states in window -t ...
This commit is contained in:
parent
9180ed3dd7
commit
de281a4356
1 changed files with 2 additions and 0 deletions
|
@ -213,6 +213,8 @@ bool cmd_window(char **args, int num)
|
|||
set_sticky(trg.monitor, trg.desktop, trg.node, (a == ALTER_SET ? b : !trg.node->client->sticky));
|
||||
} else if (streq("private", key)) {
|
||||
set_private(trg.monitor, trg.desktop, trg.node, (a == ALTER_SET ? b : !trg.node->client->private));
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
} else if (streq("-p", *args) || streq("--presel", *args)) {
|
||||
num--, args++;
|
||||
|
|
Loading…
Add table
Reference in a new issue