aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/hw/nxagent/Render.c
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-03-21 21:25:39 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-04-06 20:44:25 +0000
commit6c8c950258cf0da0cf24c5e80c2216914ac282a4 (patch)
treead80fa3280e59a4787e3aa2a879ced0b0d8993a6 /nx-X11/programs/Xserver/hw/nxagent/Render.c
parentc8a4e1e75c745c5c3ad947ba61c52cc5963d31dd (diff)
downloadnx-libs-6c8c950258cf0da0cf24c5e80c2216914ac282a4.tar.gz
nx-libs-6c8c950258cf0da0cf24c5e80c2216914ac282a4.tar.bz2
nx-libs-6c8c950258cf0da0cf24c5e80c2216914ac282a4.zip
NXpicturestr_PictSolidFill.h: Drop file and revert db8705. Not an issue anymore nowadays.
Diffstat (limited to 'nx-X11/programs/Xserver/hw/nxagent/Render.c')
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Render.c16
1 files changed, 5 insertions, 11 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Render.c b/nx-X11/programs/Xserver/hw/nxagent/Render.c
index 7ce204c3c..3193e01f5 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Render.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Render.c
@@ -2662,17 +2662,11 @@ void nxagentReconnectPicture(void * p0, XID x1, void *p2)
#endif
}
- if (!pForm && pPicture->pSourcePict)
- {
- /*possible we need to add support for other picture types, for example gradients...*/
- switch(pPicture->pSourcePict->type)
- {
- case SourcePictTypeSolidFill:
- nxagentPicturePriv(pPicture) -> picture = XRenderCreateSolidFill(nxagentDisplay,
- (const XRenderColor*) &pPicture->pSourcePict->solidFill.fullColor);
- break;
- }
- return;
+ if (!pForm)
+ {
+ *pBool = False;
+
+ return;
}
#ifdef TEST