[PATCH] include: remove now-unused sempahore macros.
Peter Hutterer
peter.hutterer at who-t.net
Wed Jan 28 19:09:24 PST 2009
Obsolete with the new enter/leave model.
---
include/input.h | 15 ---------------
1 files changed, 0 insertions(+), 15 deletions(-)
diff --git a/include/input.h b/include/input.h
index bf826b0..3b7a173 100644
--- a/include/input.h
+++ b/include/input.h
@@ -95,21 +95,6 @@ SOFTWARE.
#define RevertToFollowKeyboard 3
#endif
-/* Used for enter/leave and focus in/out semaphores */
-#define SEMAPHORE_FIELD_SET(win, dev, field) \
- (win)->field[(dev)->id/8] |= (1 << ((dev)->id % 8)); \
-
-#define SEMAPHORE_FIELD_UNSET(win, dev, field) \
- (win)->field[(dev)->id/8] &= ~(1 << ((dev)->id % 8));
-
-#define FOCUS_SEMAPHORE_SET(win, dev) \
- SEMAPHORE_FIELD_SET(win, dev, focusinout);
-
-#define FOCUS_SEMAPHORE_UNSET(win, dev) \
- SEMAPHORE_FIELD_UNSET(win, dev, focusinout);
-
-#define FOCUS_SEMAPHORE_ISSET(win, dev) \
- (win)->focusinout[(dev)->id/8] & (1 << ((dev)->id % 8))
typedef unsigned long Leds;
typedef struct _OtherClients *OtherClientsPtr;
--
1.6.0.6
More information about the xorg
mailing list