remove unused pixmap

This commit is contained in:
David Sundstrom 2011-11-02 06:15:51 -05:00
parent 7a51d0300a
commit 0790c22683
2 changed files with 0 additions and 7 deletions

View File

@ -371,7 +371,6 @@ xfWindow* xf_CreateWindow(xfInfo* xfi, rdpWindow* wnd, int x, int y, int width,
memset(&gcv, 0, sizeof(gcv));
window->gc = XCreateGC(xfi->display, window->handle, GCGraphicsExposures, &gcv);
window->surface = XCreatePixmap(xfi->display, window->handle, window->width, window->height, xfi->depth);
xf_MoveWindow(xfi, window, x, y, width, height);
@ -469,8 +468,6 @@ void xf_MoveWindow(xfInfo* xfi, xfWindow* window, int x, int y, int width, int h
if (resize)
{
XFreePixmap(xfi->display, window->surface);
window->surface = XCreatePixmap(xfi->display, window->handle, width, height, xfi->depth);
xf_UpdateWindowArea(xfi, window, 0, 0, width, height);
}
}
@ -632,9 +629,6 @@ void xf_DestroyWindow(xfInfo* xfi, xfWindow* window)
if (window->gc)
XFreeGC(xfi->display, window->gc);
if (window->surface)
XFreePixmap(xfi->display, window->surface);
if (window->handle)
{
XUnmapWindow(xfi->display, window->handle);

View File

@ -38,7 +38,6 @@ struct xf_window
int width;
int height;
Window handle;
Pixmap surface;
boolean fullscreen;
boolean decorations;
rdpWindow* window;