aboutsummaryrefslogtreecommitdiff
path: root/nxcompshad/src/Shadow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'nxcompshad/src/Shadow.cpp')
-rw-r--r--nxcompshad/src/Shadow.cpp22
1 files changed, 0 insertions, 22 deletions
diff --git a/nxcompshad/src/Shadow.cpp b/nxcompshad/src/Shadow.cpp
index c928e6ffd..7c0cc6f4e 100644
--- a/nxcompshad/src/Shadow.cpp
+++ b/nxcompshad/src/Shadow.cpp
@@ -295,8 +295,6 @@ int NXShadowCreate(void *dpy, char *keymap, char* shadowDisplayName, void **shad
return 1;
}
-#if !defined(__CYGWIN32__) && !defined(WIN32)
-
void NXShadowSetDisplayUid(int uid)
{
NXShadowOptions.optionShadowDisplayUid = uid;
@@ -324,8 +322,6 @@ void NXShadowSetScreenSize(int *w, int *h)
poller -> setScreenSize(w, h);
}
-#endif
-
void NXShadowDestroy()
{
if (poller)
@@ -388,9 +384,7 @@ int NXShadowHasChanged(int (*callback)(void *), void *arg, int *suspended)
updateManager -> newRegion();
-#if !defined(__CYGWIN32__) && !defined(WIN32)
poller -> getEvents();
-#endif
result = poller -> isChanged(callback, arg, suspended);
@@ -440,22 +434,6 @@ void NXShadowWebKeyEvent(KeySym keysym, Bool isKeyPress)
poller -> handleWebKeyEvent(keysym, isKeyPress);
}
-#ifdef __CYGWIN32__
-
-int NXShadowCaptureCursor(unsigned int wnd, void *vis)
-{
- Window window = (Window)wnd;
- Visual *visual = reinterpret_cast<Visual*>(vis);
-
- logTrace("NXShadowCaptureCursor");
-
- logTest("NXShadowCaptureCursor","Init");
-
- return poller -> updateCursor(window, visual);
-}
-
-#endif
-
void NXShadowUpdateBuffer(void **buffer)
{
char **fBuffer = reinterpret_cast<char **>(buffer);