summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/window_manager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/window_manager.cpp b/src/window_manager.cpp
index 9537be7..288c967 100644
--- a/src/window_manager.cpp
+++ b/src/window_manager.cpp
@@ -802,7 +802,7 @@ void WindowManager::emitScreenUpdated(unsigned req_num)
int ret = afb_event_push(
this->map_afb_event[kListEventName[Event_ScreenUpdated]], j);
- if (ret != 0)
+ if (ret < 0)
{
HMI_DEBUG("afb_event_push failed: %m");
}