From 6031eb572d05c757840155084ac644324279e0a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Wed, 15 Jun 2011 20:51:32 +0000 Subject: [PATCH] * Send an initial message to handle the pending entries instead of waiting for a whole second until the message runner kicks in. * This should further reduce the time the mouse pointer sits uselessly on the screen. * This is not a fix of #917, but makes it hopefully less annoying. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42199 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/kits/storage/AddOnMonitor.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/kits/storage/AddOnMonitor.cpp b/src/kits/storage/AddOnMonitor.cpp index 0bce45b2fa..304fcc34c3 100644 --- a/src/kits/storage/AddOnMonitor.cpp +++ b/src/kits/storage/AddOnMonitor.cpp @@ -89,5 +89,8 @@ AddOnMonitor::SetHandler(AddOnMonitorHandler* handler) return; } + // Send an initial message to process added directories immediately + messenger.SendMessage(&pulseMessage); + fInitCheck = B_OK; }