mirror of
https://github.com/yshui/picom.git
synced 2024-11-11 13:51:02 -05:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue