xfreerdp: fix RemoteApp segfault
This commit is contained in:
parent
de2ea742e6
commit
d16d40c17a
@ -441,7 +441,7 @@ boolean xf_post_connect(freerdp* instance)
|
||||
xfi->primary = XCreatePixmap(xfi->display, DefaultRootWindow(xfi->display), xfi->width, xfi->height, xfi->depth);
|
||||
xfi->drawing = xfi->primary;
|
||||
|
||||
xfi->bitmap_mono = XCreatePixmap(xfi->display, xfi->window->handle, 8, 8, 1);
|
||||
xfi->bitmap_mono = XCreatePixmap(xfi->display, DefaultRootWindow(xfi->display), 8, 8, 1);
|
||||
xfi->gc_mono = XCreateGC(xfi->display, xfi->bitmap_mono, GCGraphicsExposures, &gcv);
|
||||
|
||||
XSetForeground(xfi->display, xfi->gc, BlackPixelOfScreen(xfi->screen));
|
||||
|
Loading…
Reference in New Issue
Block a user