diff options
author | marha <marha@users.sourceforge.net> | 2010-07-02 12:44:32 +0000 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2010-07-02 12:44:32 +0000 |
commit | 63a788caa35b080bde1307fc6d5715dec091fe38 (patch) | |
tree | f7933fca9786afbf1efc31751a94a9a6c897502b /xorg-server/mi/mipointer.c | |
parent | 87559ccfc67a98a75fa8068066871c35caa88e30 (diff) | |
download | vcxsrv-63a788caa35b080bde1307fc6d5715dec091fe38.tar.gz vcxsrv-63a788caa35b080bde1307fc6d5715dec091fe38.tar.bz2 vcxsrv-63a788caa35b080bde1307fc6d5715dec091fe38.zip |
git update 2/7/2010
Diffstat (limited to 'xorg-server/mi/mipointer.c')
-rw-r--r-- | xorg-server/mi/mipointer.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/xorg-server/mi/mipointer.c b/xorg-server/mi/mipointer.c index 4b9ce0fa5..f11de7da0 100644 --- a/xorg-server/mi/mipointer.c +++ b/xorg-server/mi/mipointer.c @@ -452,6 +452,22 @@ miPointerGetScreen(DeviceIntPtr pDev) return (pPointer) ? pPointer->pScreen : NULL;
}
+/* Controls whether the cursor image should be updated immediately when
+ moved (FALSE) or if something else will be responsible for updating
+ it later (TRUE). Returns current setting.
+ Caller is responsible for calling OsBlockSignal first.
+*/
+Bool
+miPointerSetWaitForUpdate(ScreenPtr pScreen, Bool wait)
+{
+ SetupScreen(pScreen);
+ Bool prevWait = pScreenPriv->waitForUpdate;
+
+ pScreenPriv->waitForUpdate = wait;
+ return prevWait;
+}
+
+
/* Move the pointer on the current screen, and update the sprite. */
static void
miPointerMoved (DeviceIntPtr pDev, ScreenPtr pScreen,
|