diff options
Diffstat (limited to 'src/window_manager.hpp')
-rw-r--r-- | src/window_manager.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/window_manager.hpp b/src/window_manager.hpp index 00a798c..b5b1c4d 100644 --- a/src/window_manager.hpp +++ b/src/window_manager.hpp @@ -64,6 +64,7 @@ extern const char kKeyWidthPixel[]; extern const char kKeyHeightPixel[]; extern const char kKeyWidthMm[]; extern const char kKeyHeightMm[]; +extern const char kKeyIds[]; struct id_allocator { @@ -152,6 +153,8 @@ class WindowManager Event_SyncDraw, Event_FlushDraw, + Event_ScreenUpdated, + Event_Error, Event_Val_Max = Event_Error, @@ -164,6 +167,7 @@ class WindowManager "invisible", "syncdraw", "flushdraw", + "screen_updated", "error"}; struct controller_hooks chooks; @@ -255,6 +259,7 @@ class WindowManager WMError visibilityChange(const WMAction &action); WMError setSurfaceSize(unsigned surface, const std::string& area); WMError changeCurrentState(unsigned req_num); + void emitScreenUpdated(unsigned req_num); void setTimer(); void stopTimer(); |