mirror of
https://github.com/yshui/picom.git
synced 2024-11-11 13:51:02 -05:00
new backend: handle --use-damage
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
parent
cbe22a1cc8
commit
5940a959dc
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ void paint_all_new(session_t *ps, win *const t, bool ignore_damage) {
|
|||
// part of the image we want to reuse
|
||||
region_t reg_damage;
|
||||
if (!ignore_damage) {
|
||||
reg_damage = get_damage(ps, ps->o.monitor_repaint);
|
||||
reg_damage = get_damage(ps, ps->o.monitor_repaint || !ps->o.use_damage);
|
||||
} else {
|
||||
pixman_region32_init(®_damage);
|
||||
pixman_region32_copy(®_damage, &ps->screen_reg);
|
||||
|
|
Loading…
Reference in a new issue