mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-20 04:40:02 +01:00
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>
This commit is contained in:
parent
b92d86a982
commit
2f5cf9ff9a
1 changed files with 2 additions and 0 deletions
|
|
@ -1056,6 +1056,8 @@ XFixesCursorInit(void)
|
|||
|
||||
if (party_like_its_1989)
|
||||
CursorVisible = EnableCursor;
|
||||
else
|
||||
CursorVisible = FALSE;
|
||||
|
||||
if (!dixRegisterPrivateKey(&CursorScreenPrivateKeyRec, PRIVATE_SCREEN, 0))
|
||||
return FALSE;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue