Commit c6a2fda0 authored by Ulrich Sibiller's avatar Ulrich Sibiller Committed by Mike Gabriel

Screen.c: drop variable

parent 57625542
...@@ -2570,8 +2570,6 @@ int nxagentShadowInit(ScreenPtr pScreen, WindowPtr pWin) ...@@ -2570,8 +2570,6 @@ int nxagentShadowInit(ScreenPtr pScreen, WindowPtr pWin)
Atom nxagentShadowAtom; Atom nxagentShadowAtom;
int fd;
#endif #endif
#ifdef TEST #ifdef TEST
...@@ -2813,19 +2811,17 @@ int nxagentShadowInit(ScreenPtr pScreen, WindowPtr pWin) ...@@ -2813,19 +2811,17 @@ int nxagentShadowInit(ScreenPtr pScreen, WindowPtr pWin)
nxagentBppShadow = 1; nxagentBppShadow = 1;
} }
#if !defined(__CYGWIN__) #ifndef __CYGWIN__
imageByteOrder = nxagentShadowDisplay -> byte_order; imageByteOrder = nxagentShadowDisplay -> byte_order;
fd = XConnectionNumber(nxagentShadowDisplay); nxagentShadowXConnectionNumber = XConnectionNumber(nxagentShadowDisplay);
nxagentShadowXConnectionNumber = fd;
#endif #endif
#ifdef TEST #ifdef TEST
fprintf(stderr, "nxagentShadowInit: Adding the X connection [%d] " fprintf(stderr, "nxagentShadowInit: Adding the X connection [%d] "
"to the device set.\n", fd); "to the device set.\n", nxagentShadowXConnectionNumber);
#endif #endif
SetNotifyFd(nxagentShadowXConnectionNumber, nxagentNotifyConnection, X_NOTIFY_READ, NULL); SetNotifyFd(nxagentShadowXConnectionNumber, nxagentNotifyConnection, X_NOTIFY_READ, NULL);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment