Ticket #9261: 0002-show-the-HW-cursor-if-it-was-set-hide-it-if-not.patch

File 0002-show-the-HW-cursor-if-it-was-set-hide-it-if-not.patch, 887 bytes (added by Ziusudra, 12 years ago)

show the HW cursor if set, hide it if not

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

    From bc25f88de24d73208655596ec16a0d9f3970efc6 Mon Sep 17 00:00:00 2001
    From: Ziusudra <ziusudra@gmail.com>
    Date: Wed, 23 Jan 2013 07:08:10 -0700
    Subject: [PATCH 2/2] show the HW cursor if it was set, hide it if not
    
     - was only being shown when something else happened, like a window focus change
    ---
     src/servers/app/drawing/AccelerantHWInterface.cpp |    3 +++
     1 file changed, 3 insertions(+)
    
    diff --git a/src/servers/app/drawing/AccelerantHWInterface.cpp b/src/servers/app/drawing/AccelerantHWInterface.cpp
    index b235f6b..473e843 100644
    a b AccelerantHWInterface::SetCursor(ServerCursor* cursor)  
    13711371            cursor->Bits()) == B_OK;
    13721372    }
    13731373
     1374    if (fAccShowCursor != NULL)
     1375        fAccShowCursor(fHardwareCursorEnabled);
     1376
    13741377    UnlockExclusiveAccess();
    13751378}
    13761379