aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2024-06-08 17:44:53 +0200
committerUlrich Sibiller <uli42@gmx.de>2024-06-08 17:44:53 +0200
commit5f7c8e73b3eaceb7651957c2701e055286d8aadd (patch)
treec4a7f16e199b2fcf51e5f01824b0e109a2951478 /nx-X11/programs
parent18073adcbb696ef973122044854c64744101190f (diff)
downloadnx-libs-5f7c8e73b3eaceb7651957c2701e055286d8aadd.tar.gz
nx-libs-5f7c8e73b3eaceb7651957c2701e055286d8aadd.tar.bz2
nx-libs-5f7c8e73b3eaceb7651957c2701e055286d8aadd.zip
Render.c: merge masks in nxagentReconnectPicture
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;