[BeOS] bug 230267 The caret is stuck or hidden... r=sergei_d@fi.tartu.ee a=dbaron, no sr required (port code)
git-svn-id: svn://10.0.0.236/trunk@153947 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -666,7 +666,11 @@ NS_IMETHODIMP nsRenderingContextBeOS::InvertRect(nscoord aX, nscoord aY, nscoord
|
||||
|
||||
if (w && h) {
|
||||
if (LockAndUpdateView()) {
|
||||
//Mozilla doesn't seem to set clipping for InvertRect, so we do it here - bug 230267
|
||||
BRegion tmpClip = BRegion(BRect(x, y, x + w - 1, y + h - 1));
|
||||
mView->ConstrainClippingRegion(&tmpClip);
|
||||
mView->InvertRect(BRect(x, y, x + w - 1, y + h - 1));
|
||||
mView->Sync();
|
||||
mView->UnlockLooper();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user