diff options
author | Ulrich Sibiller <uli42@gmx.de> | 2024-06-08 17:44:53 +0200 |
---|---|---|
committer | Ulrich Sibiller <uli42@gmx.de> | 2024-06-08 17:44:53 +0200 |
commit | 5f7c8e73b3eaceb7651957c2701e055286d8aadd (patch) | |
tree | c4a7f16e199b2fcf51e5f01824b0e109a2951478 /nx-X11 | |
parent | 18073adcbb696ef973122044854c64744101190f (diff) | |
download | nx-libs-5f7c8e73b3eaceb7651957c2701e055286d8aadd.tar.gz nx-libs-5f7c8e73b3eaceb7651957c2701e055286d8aadd.tar.bz2 nx-libs-5f7c8e73b3eaceb7651957c2701e055286d8aadd.zip |
Render.c: merge masks in nxagentReconnectPicture
Diffstat (limited to 'nx-X11')
-rw-r--r-- | nx-X11/programs/Xserver/hw/nxagent/Render.c | 10 |
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; |