summaryrefslogtreecommitdiff
path: root/include/dix.h
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 /include/dix.h
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 'include/dix.h')
-rw-r--r--include/dix.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/dix.h b/include/dix.h
index c1d609a61..6a67d14dd 100644
--- a/include/dix.h
+++ b/include/dix.h
@@ -415,6 +415,9 @@ extern int DeliverDeviceEvents(
extern void DefineInitialRootWindow(
WindowPtr /* win */);
+extern void UpdateSpriteForScreen(
+ ScreenPtr /* pScreen */);
+
extern void WindowHasNewCursor(
WindowPtr /* pWin */);