projects
/
platform
/
upstream
/
freerdp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
689ca72
)
Fixed #6712: Use window size from settings
author
akallabeth
<akallabeth@posteo.net>
Fri, 12 Feb 2021 13:18:24 +0000
(14:18 +0100)
committer
akallabeth
<akallabeth@users.noreply.github.com>
Thu, 25 Feb 2021 08:51:41 +0000
(09:51 +0100)
The xfc->window might be NULL (remote app, ...)
(cherry picked from commit
6ecd440658eee7dbd0a07c1366946046746d0b8d
)
client/X11/xf_client.c
patch
|
blob
|
history
diff --git
a/client/X11/xf_client.c
b/client/X11/xf_client.c
index
e25567f
..
f40d9cb
100644
(file)
--- a/
client/X11/xf_client.c
+++ b/
client/X11/xf_client.c
@@
-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->w
idth,
-
xfc->window->h
eight);
+ XFillRectangle(xfc->display, xfc->drawable, xfc->gc, 0, 0,
settings->DesktopW
idth,
+
settings->DesktopH
eight);
}
return TRUE;