From 667709521c49f03864eae67881a8a98324917972 Mon Sep 17 00:00:00 2001 From: Kazumasa Mitsunari Date: Mon, 23 Oct 2017 15:56:37 +0900 Subject: Modify the enum starting point The windowmanager server treats the event list as a vector, thus it numbers the events starting from 0. Likewise we need to change the eventlist to start from 0 in this library. Related commit : https://gerrit.automotivelinux.org/gerrit/#/c/11481/ Bug-AGL: SPEC-987 Change-Id: I72a36033191b0a43fc8ab6923e2897715d02bcbd Signed-off-by: Kazumasa Mitsunari --- src/libwindowmanager.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libwindowmanager.h b/src/libwindowmanager.h index 5bc97de..59c5ca5 100644 --- a/src/libwindowmanager.h +++ b/src/libwindowmanager.h @@ -42,7 +42,7 @@ public: constexpr static char *kKeyDrawingArea = "drawing_area"; enum EventType { - Event_Active = 1, + Event_Active = 0, Event_Inactive, Event_Visible, -- cgit 1.2.3-korg