summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/libwindowmanager.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/libwindowmanager.cpp b/src/libwindowmanager.cpp
index e44295c..8c0f901 100644
--- a/src/libwindowmanager.cpp
+++ b/src/libwindowmanager.cpp
@@ -88,7 +88,7 @@ class LibWindowmanager::Impl {
public:
void event(char const *et, json_object *object);
private:
- int runEventLoop();
+ int runEventLoop();
};
namespace {
@@ -153,16 +153,13 @@ void onHangup(void *closure, afb_wsj1 *wsj1) {
UNUSED(closure);
UNUSED(wsj1);
fputs("Hangup, the WindowManager vanished\n", stderr);
- exit(1); // XXX: there should be something ... *better* here.
+ exit(1);
}
constexpr struct afb_wsj1_itf itf = {
onHangup, onCall, onEvent,
};
-// XXX: I am not sure this is the right thing to do though...
-std::recursive_mutex dispatch_mutex;
-
} // namespace
/**