summaryrefslogtreecommitdiffstats
path: root/src/wayland.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/wayland.cpp')
-rw-r--r--src/wayland.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wayland.cpp b/src/wayland.cpp
index 49e01aa..05e155f 100644
--- a/src/wayland.cpp
+++ b/src/wayland.cpp
@@ -624,6 +624,7 @@ void controller::surface_visibility(struct surface *s, int32_t visibility) {
logdebug("genivi::surface %s @ %d v %i", __func__, s->id,
visibility);
this->sprops[s->id].visibility = visibility;
+ this->chooks->surface_visibility(s->id, visibility);
}
void controller::surface_opacity(struct surface *s, float opacity) {
@@ -646,6 +647,7 @@ void controller::surface_destination_rectangle(struct surface *s, int32_t x,
logdebug("genivi::surface %s @ %d x %i y %i w %i h %i", __func__,
s->id, x, y, width, height);
this->sprops[s->id].dst_rect = rect{width, height, x, y};
+ this->chooks->surface_destination_rectangle(s->id, x, y, width, height);
}
void controller::surface_configuration(struct surface *s, int32_t width,