[PATCH xserver] xwayland: Remove MIPOINTER() definition
Olivier Fourdan
ofourdan at redhat.com
Thu Nov 10 08:36:40 UTC 2016
Not needed anymore now that mipointer exposes an API for that,
miPointerInvalidateSprite()
Signed-off-by: Olivier Fourdan <ofourdan at redhat.com>
---
hw/xwayland/xwayland-input.c | 6 ------
1 file changed, 6 deletions(-)
diff --git a/hw/xwayland/xwayland-input.c b/hw/xwayland/xwayland-input.c
index 7ec3b1a..0526122 100644
--- a/hw/xwayland/xwayland-input.c
+++ b/hw/xwayland/xwayland-input.c
@@ -35,12 +35,6 @@
#include <mipointer.h>
#include <mipointrst.h>
-/* Copied from mipointer.c */
-#define MIPOINTER(dev) \
- (IsFloating(dev) ? \
- (miPointerPtr)dixLookupPrivate(&(dev)->devPrivates, miPointerPrivKey): \
- (miPointerPtr)dixLookupPrivate(&(GetMaster(dev, MASTER_POINTER))->devPrivates, miPointerPrivKey))
-
struct sync_pending {
struct xorg_list l;
DeviceIntPtr pending_dev;
--
2.9.3
More information about the xorg-devel
mailing list