diff options
author | Kazumasa Mitsunari <knimitz@witz-inc.co.jp> | 2018-09-12 14:05:08 +0900 |
---|---|---|
committer | Kazumasa Mitsunari <knimitz@witz-inc.co.jp> | 2018-09-12 14:05:08 +0900 |
commit | 03a040ad80c40cca33b0dc21e50bddf7d72689c1 (patch) | |
tree | e9036a2ab04a6e7efc175a4e00a90bcb39968a8c /src/main.cpp | |
parent | 9f619f18ff68f2e75aa2ec0cdd7c289ff4ab75b7 (diff) |
Remove wayland part from Window Manager [1/2]
Change-Id: Icc3c0d3460ee88620e4c2f910536d66928085cbb
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/src/main.cpp b/src/main.cpp index 6b4fef6..6238ddc 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -520,19 +520,10 @@ void windowmanager_ping(afb_req req) noexcept afb_req_fail(req, "failed", "Binding not initialized, did the compositor die?"); return; } - - try + else { - - g_afb_instance->wmgr.api_ping(); - afb_req_success(req, NULL, "success"); } - catch (std::exception &e) - { - afb_req_fail_f(req, "failed", "Uncaught exception while calling ping: %s", e.what()); - return; - } } void windowmanager_debug_status(afb_req req) noexcept |