summaryrefslogtreecommitdiff
path: root/mi
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2015-06-02 13:58:30 -0400
committerAdam Jackson <ajax@redhat.com>2015-07-08 16:41:28 -0400
commit6f3332b9f411fd7ac9cab0085faa56f6c2ff3323 (patch)
tree43d4f026251c6d012e791a0146ae2ad65bb58973 /mi
parent36fac0dd1a9a9cf41b631cf7e1ea015bcf920db7 (diff)
dix: unifdef pWin->rootlessUnhittable
No reason to vary the dix ABI over this. Reviewed-by: Jasper St. Pierre <jstpierre@mecheye.net> Signed-off-by: Adam Jackson <ajax@redhat.com>
Diffstat (limited to 'mi')
-rw-r--r--mi/miwindow.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/mi/miwindow.c b/mi/miwindow.c
index 7574239f5..2fc7cfb79 100644
--- a/mi/miwindow.c
+++ b/mi/miwindow.c
@@ -767,14 +767,11 @@ miSpriteTrace(SpritePtr pSprite, int x, int y)
RegionContainsPoint(wInputShape(pWin),
x - pWin->drawable.x,
y - pWin->drawable.y, &box))
-#ifdef ROOTLESS
/* In rootless mode windows may be offscreen, even when
* they're in X's stack. (E.g. if the native window system
* implements some form of virtual desktop system).
*/
- && !pWin->rootlessUnhittable
-#endif
- ) {
+ && !pWin->unhittable) {
if (pSprite->spriteTraceGood >= pSprite->spriteTraceSize) {
pSprite->spriteTraceSize += 10;
pSprite->spriteTrace = reallocarray(pSprite->spriteTrace,