|
@@ -178,6 +178,10 @@ nk_xsurf_resize(XSurface *surf, unsigned int w, unsigned int h)
|
|
|
if(surf->drawable) XFreePixmap(surf->dpy, surf->drawable);
|
|
if(surf->drawable) XFreePixmap(surf->dpy, surf->drawable);
|
|
|
surf->drawable = XCreatePixmap(surf->dpy, surf->root, w, h,
|
|
surf->drawable = XCreatePixmap(surf->dpy, surf->root, w, h,
|
|
|
(unsigned int)DefaultDepth(surf->dpy, surf->screen));
|
|
(unsigned int)DefaultDepth(surf->dpy, surf->screen));
|