Bug 13572 - hidden cursor reappears on mode switch
Summary: hidden cursor reappears on mode switch
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/General (show other bugs)
Version: git
Hardware: All All
: medium normal
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2007-12-08 17:16 UTC by George Nassas
Modified: 2009-01-30 21:36 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
a fix (552 bytes, patch)
2007-12-08 17:17 UTC, George Nassas
no flags Details | Splinter Review

Description George Nassas 2007-12-08 17:16:53 UTC
I believe this is new behaviour but I'm not sure when it started or why. So far as I know 6.x servers kept hidden cursors hidden even when the resolution changed.

Anyway the attached patch modifies xf86_reload_cursors to restate the shown/hidden state of the cursor as part of their work. Currently the fn makes the cursor visible regardless of the current config value for the screen.

If this is the wrong place to tweak, or an incorrect interpretation of desired behaviour, sorry.

My particular environment is X.Org X Server 1.4.0 with Intel driver 2.2.0 on debian amd64.
Comment 1 George Nassas 2007-12-08 17:17:34 UTC
Created attachment 13003 [details] [review]
a fix
Comment 2 Eric Anholt 2009-01-30 21:36:58 UTC
Looks like this should be covered by:

commit 0b8f8b24f718820a72ebdc52423c2e6a44e848c5
Author: Stuart Bennett <sb476@cam.ac.uk>
Date:   Tue Dec 2 22:52:53 2008 -0800

    xf86Cursors: xf86_reload_cursors shouldn't unconditionally show hwcursor (#14820)
    
    Also, no need to call ShowCursor when SetCursorPosition already does it
    Based on a previous patch by Maarten Maathuis
    
    Signed-off-by: Keith Packard <keithp@keithp.com>


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.