mirror of https://github.com/FreeRDP/FreeRDP
Merge pull request #2253 from nfedera/fix-2014-12-04-02
xfreerdp: smart sizing fix
This commit is contained in:
commit
c83c6338a0
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue