Appearently, PopState() should flush right a way if not in a transaction,
or else the server will keep working with the state and especially a clipping region which should not be effective anymore. This fixes one problem I could observe with my test app. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25154 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1625,6 +1625,7 @@ BView::PopState()
|
|||||||
_CheckOwnerLockAndSwitchCurrent();
|
_CheckOwnerLockAndSwitchCurrent();
|
||||||
|
|
||||||
fOwner->fLink->StartMessage(AS_VIEW_POP_STATE);
|
fOwner->fLink->StartMessage(AS_VIEW_POP_STATE);
|
||||||
|
_FlushIfNotInTransaction();
|
||||||
|
|
||||||
// invalidate all flags (except those that are not part of pop/push)
|
// invalidate all flags (except those that are not part of pop/push)
|
||||||
fState->valid_flags = B_VIEW_VIEW_COLOR_BIT;
|
fState->valid_flags = B_VIEW_VIEW_COLOR_BIT;
|
||||||
|
|||||||
Reference in New Issue
Block a user