Ticket #9261: 0001-set-fHardwareCursorEnabled-false-in-case-we-can-t-se.patch

File 0001-set-fHardwareCursorEnabled-false-in-case-we-can-t-se.patch, 906 bytes (added by Ziusudra, 12 years ago)

Allows for switching from HW curosr back to SW cursor, but the HW cursor image does not move (though it is drawn correctly).

  • src/servers/app/drawing/AccelerantHWInterface.cpp

    From 3746c31f889ccf80a6fcc70efc77fba3396f1d25 Mon Sep 17 00:00:00 2001
    From: Ziusudra <ziusudra@gmail.com>
    Date: Tue, 22 Jan 2013 23:30:41 -0700
    Subject: [PATCH] set fHardwareCursorEnabled false in case we can't set one
    
    ---
     src/servers/app/drawing/AccelerantHWInterface.cpp |    2 ++
     1 file changed, 2 insertions(+)
    
    diff --git a/src/servers/app/drawing/AccelerantHWInterface.cpp b/src/servers/app/drawing/AccelerantHWInterface.cpp
    index 48a2b37..b235f6b 100644
    a b AccelerantHWInterface::SetCursor(ServerCursor* cursor)  
    13371337    HWInterface::SetCursor(cursor);
    13381338        // HWInterface claims ownership of cursor.
    13391339
     1340    fHardwareCursorEnabled = false;
     1341
    13401342    // cursor should never be NULL, but let us be safe!!
    13411343    if (cursor == NULL || LockExclusiveAccess() == false)
    13421344        return;