Workaround for what seems to be a race in Xserver
There seems to be a race between DamageAdd (what the client uses to report damage to Xserver) and DamageSubtract (what compton uses to clear the reported damage, so it can receive new ones). I am not sure how to confirm this. But this (terrible) workaround seems to solve this problem.
This commit is contained in:
@ -878,7 +878,7 @@ bool add_win(session_t *ps, Window id, Window prev) {
|
||||
|
||||
// Create Damage for window
|
||||
set_ignore_next(ps);
|
||||
new->damage = XDamageCreate(ps->dpy, id, XDamageReportNonEmpty);
|
||||
new->damage = XDamageCreate(ps->dpy, id, XDamageReportRawRectangles);
|
||||
}
|
||||
|
||||
calc_win_size(ps, new);
|
||||
|
Reference in New Issue
Block a user