• R/O
  • HTTP
  • SSH
  • HTTPS

提交

标签
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

frameworks/base


Commit MetaInfo

修订版6466cf65504851aa46cf340ab4d26e28ec465399 (tree)
时间2010-01-20 19:43:22
作者Chih-Wei Huang <cwhuang@linu...>
CommiterChih-Wei Huang

Log Message

fix mouse surface region size

The issue is found by 0xdroid project.

更改概述

差异

--- a/services/java/com/android/server/WindowManagerService.java
+++ b/services/java/com/android/server/WindowManagerService.java
@@ -8029,7 +8029,7 @@ public class WindowManagerService extends IWindowManager.Stub implements Watchdo
80298029
80308030 mMouseSurface =
80318031 new Surface(mFxSession,
8032- 0, -1, mMw, mMy,
8032+ 0, -1, mMw, mMh,
80338033 PixelFormat.TRANSPARENT,
80348034 Surface.FX_SURFACE_NORMAL);
80358035 mCanvas = mMouseSurface.lockCanvas(null);