diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2017-07-17 12:49:47 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2017-08-27 08:44:04 +0200 |
commit | d9e2822f535f3f02adaf4bb935a64184b871efd7 (patch) | |
tree | 801f8ae0b6790007daee6407e5c99e5d616e3340 /nxcompshad/src/Shadow.cpp | |
parent | bc66da7141f51f0594334ad641272c7de7ff3cff (diff) | |
download | nx-libs-d9e2822f535f3f02adaf4bb935a64184b871efd7.tar.gz nx-libs-d9e2822f535f3f02adaf4bb935a64184b871efd7.tar.bz2 nx-libs-d9e2822f535f3f02adaf4bb935a64184b871efd7.zip |
nxcompshad: Drop Cygwin/Win32 support. Has been untested and unused for a long time.
This code can be reactivated any time in the future once
some potential maintainer turns up and makes this work
on the MS Windows / Cygwin platform.
Diffstat (limited to 'nxcompshad/src/Shadow.cpp')
-rw-r--r-- | nxcompshad/src/Shadow.cpp | 22 |
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); |