summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKazumasa Mitsunari <knimitz@witz-inc.co.jp>2017-10-23 15:56:37 +0900
committerKazumasa Mitsunari <knimitz@witz-inc.co.jp>2017-11-01 10:42:22 +0000
commit667709521c49f03864eae67881a8a98324917972 (patch)
tree6f41a6228ed9fea470d1d0ca8f185d60694e306c /src
parent7d1bce363c39ac0463caa90498473059110fe91b (diff)
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 <knimitz@witz-inc.co.jp>
Diffstat (limited to 'src')
-rw-r--r--src/libwindowmanager.h2
1 files changed, 1 insertions, 1 deletions
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,