From d9e2822f535f3f02adaf4bb935a64184b871efd7 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Mon, 17 Jul 2017 12:49:47 +0200 Subject: 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. --- nxcompshad/src/Shadow.cpp | 22 ---------------------- 1 file changed, 22 deletions(-) (limited to 'nxcompshad/src/Shadow.cpp') 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(vis); - - logTrace("NXShadowCaptureCursor"); - - logTest("NXShadowCaptureCursor","Init"); - - return poller -> updateCursor(window, visual); -} - -#endif - void NXShadowUpdateBuffer(void **buffer) { char **fBuffer = reinterpret_cast(buffer); -- cgit v1.2.3