x11: clear the window in case of resolution change in fullscreen.

This commit is contained in:
Vic Lee 2012-06-22 21:24:24 +08:00
parent 3959f0de13
commit 977c89bb59

View File

@ -246,6 +246,14 @@ void xf_hw_desktop_resize(rdpContext* context)
xfi->drawing = xfi->primary;
}
}
else
{
XSetFunction(xfi->display, xfi->gc, GXcopy);
XSetFillStyle(xfi->display, xfi->gc, FillSolid);
XSetForeground(xfi->display, xfi->gc, 0);
XFillRectangle(xfi->display, xfi->drawable, xfi->gc,
0, 0, xfi->width, xfi->height);
}
}
boolean xf_get_fds(freerdp* instance, void** rfds, int* rcount, void** wfds, int* wcount)