xfreerdp: fix -D option (no window decorations)

This commit is contained in:
Marc-André Moreau 2011-10-07 15:07:49 -04:00
parent 51c8794e89
commit 839100e0c7

View File

@ -334,7 +334,8 @@ void xf_create_window(xfInfo* xfi)
{
XEvent xevent;
xfi->decoration = xfi->fullscreen ? False : True;
if (xfi->fullscreen)
xfi->decoration = False;
xfi->attribs.background_pixel = BlackPixelOfScreen(xfi->screen);
xfi->attribs.border_pixel = WhitePixelOfScreen(xfi->screen);