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:
Stefano Ceccherini
2005-06-11 13:23:53 +00:00
parent a2e24cf5ce
commit 95c58faa2d
+6 -1
View File
@@ -791,8 +791,13 @@ BWindow::DispatchMessage(BMessage *msg, BHandler *target)
}
case B_PULSE:
if (fPulseEnabled)
if (fPulseEnabled) {
sendPulse(top_view);
if (Lock()) {
Flush();
Unlock();
}
}
break;
case B_QUIT_REQUESTED: