aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs
diff options
context:
space:
mode:
Diffstat (limited to 'nx-X11/programs')
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Render.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Render.c b/nx-X11/programs/Xserver/hw/nxagent/Render.c
index 359647f9f..f6b91a76d 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Render.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Render.c
@@ -2260,19 +2260,11 @@ void nxagentReconnectPicture(void * p0, XID x1, void *p2)
}
attributes.subwindow_mode = pPicture -> subWindowMode;
- mask |= CPSubwindowMode;
-
attributes.poly_edge = pPicture -> polyEdge;
- mask |= CPPolyEdge;
-
attributes.poly_mode = pPicture -> polyMode;
- mask |= CPPolyMode;
-
attributes.dither = pPicture -> dither;
- mask |= CPDither;
-
attributes.component_alpha = pPicture -> componentAlpha;
- mask |= CPComponentAlpha;
+ mask |= (CPSubwindowMode | CPPolyEdge | CPPolyMode | CPDither | CPComponentAlpha);
XRenderPictFormat *pForm = NULL;