all: clang-format
[staging/windowmanager.git] / src / wayland.hpp
index b66bca7..ce8360f 100644 (file)
@@ -6,8 +6,8 @@
 #include "util.hpp"
 
 #include <functional>
-#include <unordered_map>
 #include <memory>
+#include <unordered_map>
 #include <vector>
 
 //                      _                 _
@@ -99,7 +99,7 @@ struct output : wayland_proxy<struct wl_output> {
    void done();
    void scale(int32_t factor);
 };
-}
+}  // namespace wl
 
 //  _ __   __ _ _ __ ___   ___  ___ _ __   __ _  ___ ___
 // | '_ \ / _` | '_ ` _ \ / _ \/ __| '_ \ / _` |/ __/ _ \
@@ -289,8 +289,8 @@ struct controller : public wayland_proxy<struct ivi_controller> {
    void surface_orientation(struct surface *s, int32_t orientation);
    void surface_pixelformat(struct surface *s, int32_t pixelformat);
    void surface_layer(struct surface *s, struct ivi_controller_layer *layer);
-   void surface_stats(struct surface *s, uint32_t redraw_count, uint32_t frame_count,
-                      uint32_t update_count, uint32_t pid,
+   void surface_stats(struct surface *s, uint32_t redraw_count,
+                      uint32_t frame_count, uint32_t update_count, uint32_t pid,
                       const char *process_name);
    void surface_destroyed(struct surface *s);
    void surface_content(struct surface *s, int32_t content_state);
@@ -298,8 +298,8 @@ struct controller : public wayland_proxy<struct ivi_controller> {
    // layer
    void layer_visibility(struct layer *l, int32_t visibility);
    void layer_opacity(struct layer *l, float opacity);
-   void layer_source_rectangle(struct layer *l, int32_t x, int32_t y, int32_t width,
-                               int32_t height);
+   void layer_source_rectangle(struct layer *l, int32_t x, int32_t y,
+                               int32_t width, int32_t height);
    void layer_destination_rectangle(struct layer *l, int32_t x, int32_t y,
                                     int32_t width, int32_t height);
    void layer_configuration(struct layer *l, int32_t width, int32_t height);
@@ -307,6 +307,6 @@ struct controller : public wayland_proxy<struct ivi_controller> {
    void layer_screen(struct layer *l, struct wl_output *screen);
    void layer_destroyed(struct layer *l);
 };
-}
+}  // namespace genivi
 
 #endif  // !WM_WAYLAND_HPP