OSDN Git Service

am 00392713: (-s ours) am a519df6a: (-s ours) Merge "Import translations. DO NOT...
[android-x86/frameworks-base.git] / libs / input / SpriteController.cpp
index a69c32d..5391393 100644 (file)
@@ -370,7 +370,8 @@ sp<SurfaceControl> SpriteController::obtainSurface(int32_t width, int32_t height
 
     sp<SurfaceControl> surfaceControl = mSurfaceComposerClient->createSurface(
             String8("Sprite"), width, height, PIXEL_FORMAT_RGBA_8888,
-            ISurfaceComposerClient::eHidden);
+            ISurfaceComposerClient::eHidden |
+            ISurfaceComposerClient::eCursorWindow);
     if (surfaceControl == NULL || !surfaceControl->isValid()) {
         ALOGE("Error creating sprite surface.");
         return NULL;