swc

Unnamed repository; edit this file 'description' to name the repository.
git clone git://git.nihaljere.xyz/swc
Log | Files | Refs | README | LICENSE

commit d95b2904c4fe06f4c8fc586f2439fe09eb254b5c
parent b31fa92c7f1ae820380e5a61304062d4005e444a
Author: Michael Forney <mforney@mforney.org>
Date:   Wed, 18 Dec 2019 16:31:20 -0800

surface: Post errors or set_buffer_scale or set_buffer_transform

Diffstat:
Mlibswc/surface.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libswc/surface.c b/libswc/surface.c @@ -264,13 +264,13 @@ commit(struct wl_client *client, struct wl_resource *resource) static void set_buffer_transform(struct wl_client *client, struct wl_resource *surface, int32_t transform) { - /* TODO: Implement */ + wl_resource_post_error(surface, WL_SURFACE_ERROR_INVALID_TRANSFORM, "buffer transform not supported"); } static void set_buffer_scale(struct wl_client *client, struct wl_resource *surface, int32_t scale) { - /* TODO: Implement */ + wl_resource_post_error(surface, WL_SURFACE_ERROR_INVALID_SCALE, "buffer scale not supported"); } static void