]> git.lizzy.rs Git - bspwm.git/commit
Allow negated window modifiers to match non-wins
authorEmanuele Torre <torreemanuele6@gmail.com>
Tue, 1 Dec 2020 05:48:13 +0000 (06:48 +0100)
committerBastien Dejean <nihilhill@gmail.com>
Fri, 28 May 2021 10:17:06 +0000 (12:17 +0200)
commitbadfd6c91fe18c7d60593072360e7ce73f881221
tree217fb9f4421b9156d8afda89a6e2fb9000e307ab
parente908026fe345e17e8310f0eb4ff8c3b93e71a367
Allow negated window modifiers to match non-wins

For example, `.!floating` used to only match nodes that hold a window
that is not in floating state; now, `.!floating` will match any node
that is not a node that holds a window that's in floating state.

The old behavior was counterintuitive, since e.g. `.tiled` and `.!tiled`
were not complementaries (they were complementaries with respect to the
windows, not the nodes) while the other standard node modifiers were.

Closes #1232.
src/query.c