Merge pull request #523 from bebehei/xfreegc
Fix X11 memoryleak for round corners
This commit is contained in:
commit
8b2d5c49ba
@ -141,6 +141,7 @@ static void x_win_round_corners(window_x11 *win, const int rad)
|
|||||||
|
|
||||||
XShapeCombineMask(xctx.dpy, win->xwin, ShapeBounding, 0, 0, mask, ShapeSet);
|
XShapeCombineMask(xctx.dpy, win->xwin, ShapeBounding, 0, 0, mask, ShapeSet);
|
||||||
|
|
||||||
|
XFreeGC(xctx.dpy, shape_gc);
|
||||||
XFreePixmap(xctx.dpy, mask);
|
XFreePixmap(xctx.dpy, mask);
|
||||||
|
|
||||||
XShapeSelectInput(xctx.dpy,
|
XShapeSelectInput(xctx.dpy,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user