diff options
Diffstat (limited to 'src/wm-error.cpp')
-rw-r--r-- | src/wm-error.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/wm-error.cpp b/src/wm-error.cpp index 9f63065..ab1ea31 100644 --- a/src/wm-error.cpp +++ b/src/wm-error.cpp @@ -17,7 +17,7 @@ namespace wm { -static const char *errorDescription(WMError enum_error_number) +const char *errorDescription(WMError enum_error_number) { switch (enum_error_number){ case SUCCESS: @@ -28,8 +28,12 @@ static const char *errorDescription(WMError enum_error_number) return "Request is rejected, due to the policy rejection of the request."; case REQ_DROPPED: return "Request is dropped, because the high priority request is done"; + case NOT_REGISTERED: + return "Not registered"; case TIMEOUT_EXPIRED: return "Request is dropped, due to time out expiring"; + case LAYOUT_CHANGE_FAIL: + return "Layout change fails, due to some reasons"; default: return "Unknown error number. Window manager bug."; } |