summaryrefslogtreecommitdiffstats
path: root/src/app.cpp
diff options
context:
space:
mode:
authorMarcus Fritzsch <marcus_fritzsch@mentor.com>2017-08-01 12:50:28 +0200
committerMarcus Fritzsch <marcus_fritzsch@mentor.com>2017-08-08 17:24:00 +0200
commit6d5be0fb38f93a758127491f6c81de829554bf1d (patch)
treeae367580166d41660ac73ca706a46ab02ce7bff9 /src/app.cpp
parent6429a02868e047992e435d81873c833d6ac91265 (diff)
minor clang-format
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
Diffstat (limited to 'src/app.cpp')
-rw-r--r--src/app.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/app.cpp b/src/app.cpp
index 0bf4529..8c929fe 100644
--- a/src/app.cpp
+++ b/src/app.cpp
@@ -16,10 +16,10 @@
#include <json-c/json.h>
-#include <fstream>
-#include <json.hpp>
#include <bits/signum.h>
#include <csignal>
+#include <fstream>
+#include <json.hpp>
namespace wm {
@@ -99,7 +99,7 @@ App::App(wl::display *d)
display{d},
controller{},
outputs(),
- layouts(), //load_layout("../layout.json").unwrap()),
+ layouts(), // load_layout("../layout.json").unwrap()),
surface2layer(load_layer_ids("../ids.json").unwrap()) {
// layouts(load_layout("../layout.json").unwrap()) {
assert(g_app == nullptr);
@@ -253,7 +253,7 @@ void App::surface_created(uint32_t surface_id) {
if (h < 0) {
h = c->output_size.h + 1 + h;
}
- logdebug("Computed rect={ %d, %d, %d, %d }", x, y, w, h);
+ logdebug("Computed rect={ %d, %d, %d, %d }", x, y, w, h);
s->set_configuration(w, h);
s->set_source_rectangle(0, 0, w, h);
@@ -261,8 +261,7 @@ void App::surface_created(uint32_t surface_id) {
s->set_visibility(1);
c->layers[layer_id]->add_surface(s.get());
- logdebug("Surface %u now on layer %u", surface_id,
- layer_id);
+ logdebug("Surface %u now on layer %u", surface_id, layer_id);
});
}
}
@@ -312,7 +311,8 @@ binding_api::result_type binding_api::debug_status() {
binding_api::result_type binding_api::debug_terminate() {
logdebug("%s", __func__);
- raise(SIGKILL); // XXX afb-daemon kills it's pgroup using TERM, which doesn't play well with perf
+ raise(SIGKILL); // XXX afb-daemon kills it's pgroup using TERM, which
+ // doesn't play well with perf
return Ok(json_object_new_object());
}