projects
/
platform
/
core
/
uifw
/
dali-adaptor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix event processing bug
[platform/core/uifw/dali-adaptor.git]
/
adaptors
/
common
/
adaptor-impl.cpp
diff --git
a/adaptors/common/adaptor-impl.cpp
b/adaptors/common/adaptor-impl.cpp
index
ff84a6e
..
59f0303
100644
(file)
--- a/
adaptors/common/adaptor-impl.cpp
+++ b/
adaptors/common/adaptor-impl.cpp
@@
-447,7
+447,7
@@
bool Adaptor::AddIdle( CallbackBase* callback, bool forceAdd )
bool idleAdded(false);
// Only add an idle if the Adaptor is actually running
bool idleAdded(false);
// Only add an idle if the Adaptor is actually running
- if( RUNNING == mState || forceAdd )
+ if( RUNNING == mState ||
READY == mState ||
forceAdd )
{
idleAdded = mCallbackManager->AddIdleCallback( callback );
}
{
idleAdded = mCallbackManager->AddIdleCallback( callback );
}
@@
-691,7
+691,7
@@
void Adaptor::RequestProcessEventsOnIdle( bool forceProcess )
{
// Only request a notification if the Adaptor is actually running
// and we haven't installed the idle notification
{
// Only request a notification if the Adaptor is actually running
// and we haven't installed the idle notification
- if( ( ! mNotificationOnIdleInstalled ) && ( RUNNING == mState || forceProcess ) )
+ if( ( ! mNotificationOnIdleInstalled ) && ( RUNNING == mState ||
READY == mState ||
forceProcess ) )
{
mNotificationOnIdleInstalled = AddIdle( MakeCallback( this, &Adaptor::ProcessCoreEventsFromIdle ), forceProcess );
}
{
mNotificationOnIdleInstalled = AddIdle( MakeCallback( this, &Adaptor::ProcessCoreEventsFromIdle ), forceProcess );
}