diff options
author | nia <nia@pkgsrc.org> | 2020-02-24 12:31:20 +0000 |
---|---|---|
committer | nia <nia@pkgsrc.org> | 2020-02-24 12:31:20 +0000 |
commit | 961756bffd192a1e15fa013a21a403e93b535653 (patch) | |
tree | 592a2495f3a0d9a9717c1b6df8033f6d5f184633 /wm | |
parent | 4f296a9e4f061f4217b7d5afd537931a96445cfa (diff) | |
download | pkgsrc-961756bffd192a1e15fa013a21a403e93b535653.tar.gz |
swc: Allow qt5 applications to run again.
The compositor was throwing an unsupported transformation type error when
qt5 tried to set a transformation type of "normal" on surfaces, even though
this is asking for the default behaviour.
Bump PKGREVISION
Diffstat (limited to 'wm')
-rw-r--r-- | wm/swc/Makefile | 3 | ||||
-rw-r--r-- | wm/swc/distinfo | 3 | ||||
-rw-r--r-- | wm/swc/patches/patch-libswc_surface.c | 18 |
3 files changed, 22 insertions, 2 deletions
diff --git a/wm/swc/Makefile b/wm/swc/Makefile index 41b3478d999..918be1a06f0 100644 --- a/wm/swc/Makefile +++ b/wm/swc/Makefile @@ -1,6 +1,7 @@ -# $NetBSD: Makefile,v 1.6 2020/02/24 11:58:57 nia Exp $ +# $NetBSD: Makefile,v 1.7 2020/02/24 12:31:20 nia Exp $ DISTNAME= swc-0.0.0.20200222 +PKGREVISION= 1 CATEGORIES= wm MASTER_SITES= ${MASTER_SITE_GITHUB:=michaelforney/} GITHUB_PROJECT= swc diff --git a/wm/swc/distinfo b/wm/swc/distinfo index c18e6955d3e..95b1a7b798a 100644 --- a/wm/swc/distinfo +++ b/wm/swc/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.5 2020/02/24 11:58:57 nia Exp $ +$NetBSD: distinfo,v 1.6 2020/02/24 12:31:20 nia Exp $ SHA1 (swc-0.0.0.20200222-b5b7214bed4d30ff52afa5e9668c9f4162caf30a.tar.gz) = e0d26a9475d28bd25b7a6485e53bd52fcb8c9d70 RMD160 (swc-0.0.0.20200222-b5b7214bed4d30ff52afa5e9668c9f4162caf30a.tar.gz) = 22dc677900007ce99fc9df1c32008ea50b1b1875 SHA512 (swc-0.0.0.20200222-b5b7214bed4d30ff52afa5e9668c9f4162caf30a.tar.gz) = ed63c38a039f6662440095ecc2a2bf467388cd7fc3eaa56f496673a1acc3e91cbe6237d5e89401b37378fe4f65834cc917db73240a69775ad2f174f57f53af39 Size (swc-0.0.0.20200222-b5b7214bed4d30ff52afa5e9668c9f4162caf30a.tar.gz) = 88300 bytes +SHA1 (patch-libswc_surface.c) = 8b0d373acd8f56f433857e96256757d95b5760ba diff --git a/wm/swc/patches/patch-libswc_surface.c b/wm/swc/patches/patch-libswc_surface.c new file mode 100644 index 00000000000..6a89fe4bf4b --- /dev/null +++ b/wm/swc/patches/patch-libswc_surface.c @@ -0,0 +1,18 @@ +$NetBSD: patch-libswc_surface.c,v 1.1 2020/02/24 12:31:20 nia Exp $ + +Don't error if the transformation type is "normal". + +--- libswc/surface.c.orig 2020-02-22 10:04:33.000000000 +0000 ++++ libswc/surface.c +@@ -268,7 +268,10 @@ commit(struct wl_client *client, struct + static void + set_buffer_transform(struct wl_client *client, struct wl_resource *surface, int32_t transform) + { +- wl_resource_post_error(surface, WL_SURFACE_ERROR_INVALID_TRANSFORM, "buffer transform not supported"); ++ if (transform != WL_OUTPUT_TRANSFORM_NORMAL) { ++ wl_resource_post_error(surface, WL_SURFACE_ERROR_INVALID_TRANSFORM, ++ "buffer transform %#" PRIx32 " not supported", transform); ++ } + } + + static void |