Fixed #6712: Use window size from settings
The xfc->window might be NULL (remote app, ...) (cherry picked from commit 6ecd440658eee7dbd0a07c1366946046746d0b8d)
This commit is contained in:
parent
689ca72285
commit
e5f92ba550
@ -299,8 +299,8 @@ static BOOL xf_desktop_resize(rdpContext* context)
|
||||
XSetFunction(xfc->display, xfc->gc, GXcopy);
|
||||
XSetFillStyle(xfc->display, xfc->gc, FillSolid);
|
||||
XSetForeground(xfc->display, xfc->gc, 0);
|
||||
XFillRectangle(xfc->display, xfc->drawable, xfc->gc, 0, 0, xfc->window->width,
|
||||
xfc->window->height);
|
||||
XFillRectangle(xfc->display, xfc->drawable, xfc->gc, 0, 0, settings->DesktopWidth,
|
||||
settings->DesktopHeight);
|
||||
}
|
||||
|
||||
return TRUE;
|
||||
|
Loading…
x
Reference in New Issue
Block a user