]> git.lizzy.rs Git - bspwm.git/commitdiff
Rely on the user layout to skip the presel fb
authorBastien Dejean <nihilhill@gmail.com>
Thu, 18 Apr 2019 15:58:48 +0000 (17:58 +0200)
committerBastien Dejean <nihilhill@gmail.com>
Thu, 18 Apr 2019 15:58:48 +0000 (17:58 +0200)
Fixes #954.

src/window.c

index 71e42597315ee38577b25830be769c3a1b66980e..1f5738f16c14ad89faf7c6ba5c3f856b95d00280 100644 (file)
@@ -288,7 +288,7 @@ void initialize_presel_feedback(node_t *n)
 
 void draw_presel_feedback(monitor_t *m, desktop_t *d, node_t *n)
 {
-       if (n == NULL || n->presel == NULL || d->layout == LAYOUT_MONOCLE || !presel_feedback) {
+       if (n == NULL || n->presel == NULL || d->user_layout == LAYOUT_MONOCLE || !presel_feedback) {
                return;
        }