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:
parent
a49de3208c
commit
d092f4d8df
|
@ -1625,6 +1625,7 @@ BView::PopState()
|
|||
_CheckOwnerLockAndSwitchCurrent();
|
||||
|
||||
fOwner->fLink->StartMessage(AS_VIEW_POP_STATE);
|
||||
_FlushIfNotInTransaction();
|
||||
|
||||
// invalidate all flags (except those that are not part of pop/push)
|
||||
fState->valid_flags = B_VIEW_VIEW_COLOR_BIT;
|
||||
|
|
Loading…
Reference in New Issue