From 1d0f277f06f283ab28aa5e7d6b2d43b466d2baa4 Mon Sep 17 00:00:00 2001 From: Kazumasa Mitsunari Date: Tue, 22 May 2018 17:35:44 +0900 Subject: Add screen_updated event This is just for the test. This event means the current visible apps is changed. The name of the event may confuse developers with the update of screen update of weston. So the name is under considering. Change-Id: I91dc20deab453946eae5d6a452bc2b506fbbe42b Signed-off-by: Kazumasa Mitsunari --- src/libwindowmanager.cpp | 1 + src/libwindowmanager.h | 2 ++ 2 files changed, 3 insertions(+) diff --git a/src/libwindowmanager.cpp b/src/libwindowmanager.cpp index b795e0b..3caf470 100644 --- a/src/libwindowmanager.cpp +++ b/src/libwindowmanager.cpp @@ -64,6 +64,7 @@ class LibWindowmanager::Impl { "lightstatus_brake_on", "car_stop", "car_run", + "screen_updated", }; /* Key for json obejct */ diff --git a/src/libwindowmanager.h b/src/libwindowmanager.h index 4702741..7c9bc5a 100644 --- a/src/libwindowmanager.h +++ b/src/libwindowmanager.h @@ -69,6 +69,8 @@ public: Event_CarStop, Event_CarRun, + Event_ScreenUpdated, + Event_Val_Max = Event_CarRun, }; -- cgit 1.2.3-korg