From 778e3b91acad6da04341d439f0c66a4fd09def4f Mon Sep 17 00:00:00 2001 From: Michael Wright Date: Mon, 16 May 2016 15:21:03 +0100 Subject: DO NOT MERGE Remove Pointer Capture API The underlying implementation needs to be completely rethought. If a process crashed while you were in pointer capture mode, you were pretty much stuck in it. If the mouse happened to move outside of your bounds right before you called the API, you'd never actually get an event (whatever it was hovering over would). There's no easy way for the system to tell you when you enter or exit this mode because it doesn't actually track who the current request is from. These are all solvable, but not in the N time frame. Maybe next time. Bug: 26830970 Change-Id: I03efd63c499b86dc278491ca3284566c1965581f --- libs/input/PointerController.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'libs/input/PointerController.h') diff --git a/libs/input/PointerController.h b/libs/input/PointerController.h index b47139adaf90..99292d7ca8a6 100644 --- a/libs/input/PointerController.h +++ b/libs/input/PointerController.h @@ -111,10 +111,6 @@ public: void setInactivityTimeout(InactivityTimeout inactivityTimeout); void reloadPointerResources(); - /* Detach or attach the pointer icon status. When detached, the pointer icon disappears - * and the icon location does not change at all. */ - void detachPointerIcon(bool detached); - private: static const size_t MAX_RECYCLED_SPRITES = 12; static const size_t MAX_SPOTS = 12; @@ -184,8 +180,6 @@ private: int32_t buttonState; - bool iconDetached; - Vector spots; Vector > recycledSprites; } mLocked; -- cgit v1.2.3-59-g8ed1b