Bug 13572

Summary: hidden cursor reappears on mode switch
Product: xorg Reporter: George Nassas <gnassas>
Component: Server/GeneralAssignee: Xorg Project Team <xorg-team>
Status: RESOLVED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium Keywords: patch
Version: git   
Hardware: All   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
a fix none

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.