Add missing check for experimental_backends
Fixes #121 Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
parent
6487047526
commit
23ee4c6cbe
|
@ -1620,7 +1620,7 @@ void map_win(session_t *ps, win *w) {
|
||||||
|
|
||||||
// TODO win_update_bounding_shape below will immediately
|
// TODO win_update_bounding_shape below will immediately
|
||||||
// reinit w->win_data, not very efficient
|
// 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);
|
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);
|
log_debug("Window %#010x has opacity %f, opacity target is %f", w->id, w->opacity, w->opacity_tgt);
|
||||||
|
|
Loading…
Reference in New Issue