diff options
-rw-r--r-- | src/libwindowmanager.cpp | 4 | ||||
-rw-r--r-- | src/libwindowmanager.h | 6 |
2 files changed, 9 insertions, 1 deletions
diff --git a/src/libwindowmanager.cpp b/src/libwindowmanager.cpp index 21f7645..c1bdbb8 100644 --- a/src/libwindowmanager.cpp +++ b/src/libwindowmanager.cpp @@ -55,7 +55,9 @@ class LibWindowmanager::Impl { std::string("visible"), std::string("invisible"), std::string("syncdraw"), - std::string("flushdraw") + std::string("flushdraw"), + std::string("screen_updated"), + std::string("error") }; /* Key for json obejct */ diff --git a/src/libwindowmanager.h b/src/libwindowmanager.h index b2b9496..3b21091 100644 --- a/src/libwindowmanager.h +++ b/src/libwindowmanager.h @@ -52,6 +52,12 @@ public: Event_SyncDraw, Event_FlushDraw, + + Event_ScreenUpdated, + + Event_Error, + + Event_Val_Max = Event_Error }; int init(int port, char const *token); |