mirror of
https://github.com/davatorium/rofi.git
synced 2025-04-14 17:43:01 -04:00
Revert "[window] Check bitmask, not full comparison"
This reverts commit 5185895643
.
This commit is contained in:
parent
de4e10a7de
commit
496101ac36
1 changed files with 1 additions and 1 deletions
|
@ -296,7 +296,7 @@ window_get_attributes(xcb_window_t w) {
|
|||
// _NET_WM_STATE_*
|
||||
static int client_has_state(client *c, xcb_atom_t state) {
|
||||
for (int i = 0; i < c->states; i++) {
|
||||
if ((c->state[i] & state) == state) {
|
||||
if (c->state[i] == state) {
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue