mirror of
https://gitee.com/houstudio/Cdroid.git
synced 2024-12-05 21:58:44 +08:00
修复删除窗口导致的底层窗口可能毛边的问题
This commit is contained in:
parent
283936d0f9
commit
398ef50e0d
@ -125,8 +125,7 @@ void WindowManager::removeWindow(Window*w){
|
||||
Rect rc = w1->getBound();
|
||||
rc.intersect(wrect);
|
||||
rc.offset(-w1->getLeft(),-w1->getTop());
|
||||
w1->invalidate(&rc);
|
||||
w1->mPendingRgn->do_union({rc.left,rc.top,rc.width,rc.height});
|
||||
w1->mPendingRgn->do_union({rc.left,rc.top,rc.width,rc.height});
|
||||
}
|
||||
#if USE_UIEVENTHANDLER
|
||||
Looper::getDefault()->removeHandler(w->mUIEventHandler);
|
||||
|
Loading…
Reference in New Issue
Block a user