]> git.lizzy.rs Git - bspwm.git/commitdiff
Fix regression introduced by b181b5c
authorBastien Dejean <nihilhill@gmail.com>
Mon, 26 Jun 2017 19:55:21 +0000 (21:55 +0200)
committerBastien Dejean <nihilhill@gmail.com>
Mon, 26 Jun 2017 19:55:21 +0000 (21:55 +0200)
Fixes #669.

src/rule.c

index cc0b27317abd7e320cab4ff893b97a34b04b137c..729e2ef5950d6a4a216a9f351198c85ec2a4f023 100644 (file)
@@ -213,7 +213,7 @@ static void _apply_window_state(xcb_window_t win, rule_consequence_t *csq)
                        } else if (a == ewmh->_NET_WM_STATE_BELOW) {
                                SET_CSQ_LAYER(LAYER_BELOW);
                        } else if (a == ewmh->_NET_WM_STATE_ABOVE) {
-                               SET_CSQ_LAYER(LAYER_BELOW);
+                               SET_CSQ_LAYER(LAYER_ABOVE);
                        } else if (a == ewmh->_NET_WM_STATE_STICKY) {
                                csq->sticky = true;
                        }