wayland: clang-format
authorMarcus Fritzsch <marcus_fritzsch@mentor.com>
Fri, 28 Jul 2017 13:07:01 +0000 (15:07 +0200)
committerMarcus Fritzsch <marcus_fritzsch@mentor.com>
Tue, 8 Aug 2017 15:24:00 +0000 (17:24 +0200)
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
src/wayland.cpp
src/wayland.hpp

index f274874..29c70a1 100644 (file)
@@ -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);
index af36142..4ab4709 100644 (file)
@@ -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>