X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fwayland.cpp;h=8ad2544a698bcf509ed4a15ec6fd2d90e406f353;hb=d16426164142cdddeaf16cb18a6ac5f191c8e0e4;hp=29c70a15aaa4cb5fa08e464acfcdcfe7ba1b4a78;hpb=74c2debc328c78a49d5ac779e9a83f3b7459c0a5;p=staging%2Fwindowmanager.git diff --git a/src/wayland.cpp b/src/wayland.cpp index 29c70a1..8ad2544 100644 --- a/src/wayland.cpp +++ b/src/wayland.cpp @@ -380,7 +380,7 @@ void controller::layer_source_rectangle(struct layer *l, int32_t x, int32_t y, int32_t width, int32_t height) { logdebug("genivi::layer %s @ %p x %i y %i w %i h %i", __func__, this->proxy.get(), x, y, width, height); - this->lprops[l->id].src_rect = rect{uint32_t(width), uint32_t(height), x, y}; + this->lprops[l->id].src_rect = rect{width, height, x, y}; } void controller::layer_destination_rectangle(struct layer *l, int32_t x, @@ -388,7 +388,7 @@ void controller::layer_destination_rectangle(struct layer *l, int32_t x, int32_t height) { logdebug("genivi::layer %s @ %p x %i y %i w %i h %i", __func__, this->proxy.get(), x, y, width, height); - this->lprops[l->id].dst_rect = rect{uint32_t(width), uint32_t(height), x, y}; + this->lprops[l->id].dst_rect = rect{width, height, x, y}; } void controller::layer_configuration(struct layer *l, int32_t width, @@ -588,7 +588,7 @@ void controller::surface_source_rectangle(struct surface *s, int32_t x, int32_t height) { logdebug("genivi::surface %s @ %p x %i y %i w %i h %i", __func__, this->proxy.get(), x, y, width, height); - this->sprops[s->id].src_rect = rect{uint32_t(width), uint32_t(height), x, y}; + this->sprops[s->id].src_rect = rect{width, height, x, y}; } void controller::surface_destination_rectangle(struct surface *s, int32_t x, @@ -596,7 +596,7 @@ void controller::surface_destination_rectangle(struct surface *s, int32_t x, int32_t height) { logdebug("genivi::surface %s @ %p x %i y %i w %i h %i", __func__, this->proxy.get(), x, y, width, height); - this->sprops[s->id].dst_rect = rect{uint32_t(width), uint32_t(height), x, y}; + this->sprops[s->id].dst_rect = rect{width, height, x, y}; } void controller::surface_configuration(struct surface *s, int32_t width,