Now we flush the command buffer after handling a B_PULSE message. This fixes the PulseTest (and probably some other things).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13059 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -791,8 +791,13 @@ BWindow::DispatchMessage(BMessage *msg, BHandler *target)
|
|||||||
}
|
}
|
||||||
|
|
||||||
case B_PULSE:
|
case B_PULSE:
|
||||||
if (fPulseEnabled)
|
if (fPulseEnabled) {
|
||||||
sendPulse(top_view);
|
sendPulse(top_view);
|
||||||
|
if (Lock()) {
|
||||||
|
Flush();
|
||||||
|
Unlock();
|
||||||
|
}
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case B_QUIT_REQUESTED:
|
case B_QUIT_REQUESTED:
|
||||||
|
|||||||
Reference in New Issue
Block a user