summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMarcus Fritzsch <marcus_fritzsch@mentor.com>2017-07-28 15:07:01 +0200
committerMarcus Fritzsch <marcus_fritzsch@mentor.com>2017-08-08 17:24:00 +0200
commit74c2debc328c78a49d5ac779e9a83f3b7459c0a5 (patch)
tree448c79851d90c3356709663ec44ad6f63abb81ff /src
parentc308f716a5eb8923fb204271725ef9c309f05672 (diff)
wayland: clang-format
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
Diffstat (limited to 'src')
-rw-r--r--src/wayland.cpp3
-rw-r--r--src/wayland.hpp2
2 files changed, 3 insertions, 2 deletions
diff --git a/src/wayland.cpp b/src/wayland.cpp
index f274874..29c70a1 100644
--- a/src/wayland.cpp
+++ b/src/wayland.cpp
@@ -644,7 +644,8 @@ void controller::surface_content(struct surface *s, int32_t content_state) {
logdebug("genivi::surface %s @ %p s %i", __func__, this->proxy.get(),
content_state);
if (content_state == IVI_CONTROLLER_SURFACE_CONTENT_STATE_CONTENT_REMOVED) {
- this->chooks->surface_removed(s->id); // XXX is this the right thing to do?
+ // XXX is this the right thing to do?
+ this->chooks->surface_removed(s->id);
add_task("remove surface", [s](struct controller *c) {
c->sprops.erase(s->id);
c->surfaces.erase(s->id);
diff --git a/src/wayland.hpp b/src/wayland.hpp
index af36142..4ab4709 100644
--- a/src/wayland.hpp
+++ b/src/wayland.hpp
@@ -1,8 +1,8 @@
#ifndef WM_WAYLAND_HPP
#define WM_WAYLAND_HPP
-#include "ivi-controller-client-protocol.h"
#include "controller_hooks.hpp"
+#include "ivi-controller-client-protocol.h"
#include "util.hpp"
#include <functional>