Merge pull request #2253 from nfedera/fix-2014-12-04-02

xfreerdp: smart sizing fix
This commit is contained in:
Bernhard Miklautz 2014-12-04 18:04:25 +01:00
commit c83c6338a0
1 changed files with 1 additions and 1 deletions

View File

@ -161,7 +161,7 @@ static void xf_draw_screen_scaled(xfContext* xfc, int x, int y, int w, int h)
XDestroyRegion(reg2);
}
picFormat = XRenderFindStandardFormat(xfc->display, PictStandardRGB24);
picFormat = XRenderFindVisualFormat(xfc->display, xfc->visual);
pa.subwindow_mode = IncludeInferiors;
primaryPicture = XRenderCreatePicture(xfc->display, xfc->primary, picFormat, CPSubwindowMode, &pa);