commit db2ce7a

nia  ·  2020-02-24 12:38:11 +0000 UTC
parent b5b7214
surface: Do not error if the transformation type is NORMAL.

This allows Qt5 applications to run again.
1 files changed,  +4, -1
+4, -1
 1@@ -268,7 +268,10 @@ commit(struct wl_client *client, struct wl_resource *resource)
 2 static void
 3 set_buffer_transform(struct wl_client *client, struct wl_resource *surface, int32_t transform)
 4 {
 5-	wl_resource_post_error(surface, WL_SURFACE_ERROR_INVALID_TRANSFORM, "buffer transform not supported");
 6+	if (transform != WL_OUTPUT_TRANSFORM_NORMAL) {
 7+		wl_resource_post_error(surface, WL_SURFACE_ERROR_INVALID_TRANSFORM,
 8+		                       "buffer transform %" PRId32 " not supported", transform);
 9+	}
10 }
11 
12 static void