Fix a leak of XFIXES regions
This commit is contained in:
parent
9654d0bb64
commit
6a8df0ada7
|
@ -1958,6 +1958,7 @@ repair_win(session_t *ps, win *w) {
|
||||||
w->g.x + w->g.border_width,
|
w->g.x + w->g.border_width,
|
||||||
w->g.y + w->g.border_width);
|
w->g.y + w->g.border_width);
|
||||||
x_fetch_region(ps, tmp, &parts);
|
x_fetch_region(ps, tmp, &parts);
|
||||||
|
xcb_xfixes_destroy_region(c, tmp);
|
||||||
}
|
}
|
||||||
|
|
||||||
w->ever_damaged = true;
|
w->ever_damaged = true;
|
||||||
|
|
Loading…
Reference in New Issue