Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
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);
#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>