summaryrefslogtreecommitdiff
path: root/mi/mipointer.c
diff options
context:
space:
mode:
authorDodji Seketeli <dodji@openedhand.com>2007-10-02 13:11:28 +0200
committerDodji Seketeli <dodji@openedhand.com>2007-10-02 13:48:48 +0200
commit81692b628f41cb64329f3cccc0503fb216a2b8e3 (patch)
treee8cc110a7590708b59a8fb999841d23ea4666949 /mi/mipointer.c
parentdc90d500085dd74e90073be008fc514bd97b160a (diff)
Fix #12650: "windows not receiving mouse events in multiple screens context"
* dix/events.c, include/dix.h: (UpdateSpriteForScreen): added this to update the mouse sprite context when we switch from a pScreen to another. * mi/mipointer.c: (miPointerWarpCursor): as we are switching to a new pScreen, don't forget to update the mouse sprite context.
Diffstat (limited to 'mi/mipointer.c')
-rw-r--r--mi/mipointer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mi/mipointer.c b/mi/mipointer.c
index b86a26a97..24ff4cc53 100644
--- a/mi/mipointer.c
+++ b/mi/mipointer.c
@@ -262,6 +262,7 @@ miPointerWarpCursor (pScreen, x, y)
miPointer.y = y;
miPointer.pScreen = pScreen;
}
+ UpdateSpriteForScreen (pScreen) ;
}
/*