From 23ee4c6cbe7eff9f1cff897445e59f703eda459f Mon Sep 17 00:00:00 2001 From: Yuxuan Shui Date: Thu, 21 Feb 2019 22:32:30 +0000 Subject: [PATCH] Add missing check for experimental_backends Fixes #121 Signed-off-by: Yuxuan Shui --- src/win.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/win.c b/src/win.c index ccef6df..862c97d 100644 --- a/src/win.c +++ b/src/win.c @@ -1620,7 +1620,7 @@ void map_win(session_t *ps, win *w) { // TODO win_update_bounding_shape below will immediately // reinit w->win_data, not very efficient - if (ps->redirected) { + if (ps->redirected && ps->o.experimental_backends) { w->win_data = backend_list[ps->o.backend]->prepare_win(ps->backend_data, ps, w); } log_debug("Window %#010x has opacity %f, opacity target is %f", w->id, w->opacity, w->opacity_tgt);