summaryrefslogtreecommitdiff
path: root/xfixes
diff options
context:
space:
mode:
authorFrank Binns <frank.binns@imgtec.com>2014-04-24 11:37:48 +0100
committerKeith Packard <keithp@keithp.com>2014-06-04 21:32:42 -0700
commit2f5cf9ff9a0f713b7e038636484c77f113a5f10a (patch)
treea2e96b60efd15b5771481e3afc028c1e39e6e43c /xfixes
parentb92d86a982504af2605042c19ef796d135074ee1 (diff)
xfixes: disable cursor on X server reset
The initial state of the cursor is set to disabled but this was never be re-disabled during X server reset. This meant any application run after an X server reset would have the cursor displayed even if it hadn't requested this to be the case. Signed-off-by: Frank Binns <frank.binns@imgtec.com> Reviewed-by: Keith Packard <keithp@keithp.com> Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'xfixes')
-rw-r--r--xfixes/cursor.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/xfixes/cursor.c b/xfixes/cursor.c
index 2c4b57c13..31a408fac 100644
--- a/xfixes/cursor.c
+++ b/xfixes/cursor.c
@@ -1056,6 +1056,8 @@ XFixesCursorInit(void)
if (party_like_its_1989)
CursorVisible = EnableCursor;
+ else
+ CursorVisible = FALSE;
if (!dixRegisterPrivateKey(&CursorScreenPrivateKeyRec, PRIVATE_SCREEN, 0))
return FALSE;