Toshaan Bharvani
2 years ago
commit
543965d1d0
4 changed files with 1431 additions and 0 deletions
@ -0,0 +1,26 @@ |
|||||||
|
From 3899a01cd6cb00ca686946d3065d58f59f5c2099 Mon Sep 17 00:00:00 2001 |
||||||
|
From: =?UTF-8?q?Jonas=20=C3=85dahl?= <jadahl@gmail.com> |
||||||
|
Date: Tue, 17 Nov 2020 14:00:02 +0100 |
||||||
|
Subject: [PATCH] Revert "build: Do not provide built sources as libmutter_dep |
||||||
|
sources" |
||||||
|
|
||||||
|
This reverts commit 4e9a2e479969973bf3063c740ceff149036b3af4. |
||||||
|
--- |
||||||
|
src/meson.build | 1 + |
||||||
|
1 file changed, 1 insertion(+) |
||||||
|
|
||||||
|
diff --git a/src/meson.build b/src/meson.build |
||||||
|
index e7c99caee..8fe484ec2 100644 |
||||||
|
--- a/src/meson.build |
||||||
|
+++ b/src/meson.build |
||||||
|
@@ -955,6 +955,7 @@ libmutter = shared_library(libmutter_name, |
||||||
|
libmutter_dep = declare_dependency( |
||||||
|
link_with: libmutter, |
||||||
|
include_directories: mutter_includes, |
||||||
|
+ sources: mutter_built_sources, |
||||||
|
dependencies: [ |
||||||
|
libmutter_cogl_dep, |
||||||
|
libmutter_clutter_dep, |
||||||
|
-- |
||||||
|
2.28.0 |
||||||
|
|
@ -0,0 +1,35 @@ |
|||||||
|
From 9efcc35102b4c41265e93461b35a1193b3d5822d Mon Sep 17 00:00:00 2001 |
||||||
|
From: =?UTF-8?q?Florian=20M=C3=BCllner?= <fmuellner@gnome.org> |
||||||
|
Date: Fri, 12 May 2017 13:40:31 +0200 |
||||||
|
Subject: [PATCH] window-actor: Special-case shaped Java windows |
||||||
|
|
||||||
|
OpenJDK wrongly assumes that shaping a window implies no shadows. |
||||||
|
They got lucky until commit b975676c changed the fallback case, |
||||||
|
but now their compliance tests are broken. Make them happy again |
||||||
|
by special-casing shaped Java windows. |
||||||
|
--- |
||||||
|
src/compositor/meta-window-actor-x11.c | 8 ++++++++ |
||||||
|
1 file changed, 8 insertions(+) |
||||||
|
|
||||||
|
diff --git a/src/compositor/meta-window-actor-x11.c b/src/compositor/meta-window-actor-x11.c |
||||||
|
index b7032e0ba..b05d5e158 100644 |
||||||
|
--- a/src/compositor/meta-window-actor-x11.c |
||||||
|
+++ b/src/compositor/meta-window-actor-x11.c |
||||||
|
@@ -528,6 +528,14 @@ has_shadow (MetaWindowActorX11 *actor_x11) |
||||||
|
*/ |
||||||
|
if (window->has_custom_frame_extents) |
||||||
|
return FALSE; |
||||||
|
+ |
||||||
|
+ /* |
||||||
|
+ * OpenJDK wrongly assumes that shaping a window implies no compositor |
||||||
|
+ * shadows; make its compliance tests happy to give it what it wants ... |
||||||
|
+ */ |
||||||
|
+ if (g_strcmp0 (window->res_name, "sun-awt-X11-XWindowPeer") == 0 && |
||||||
|
+ window->shape_region != NULL) |
||||||
|
+ return FALSE; |
||||||
|
|
||||||
|
/* |
||||||
|
* Generate shadows for all other windows. |
||||||
|
-- |
||||||
|
2.23.0 |
||||||
|
|
@ -0,0 +1,25 @@ |
|||||||
|
From 2184adca1e510361fd1c425d88ac9a3d458eb76a Mon Sep 17 00:00:00 2001 |
||||||
|
From: David King <amigadave@amigadave.com> |
||||||
|
Date: Fri, 14 Jan 2022 18:18:03 +0000 |
||||||
|
Subject: [PATCH] Disable KMS on tegra |
||||||
|
|
||||||
|
Based on commit 77a40614f08ef10044409f689b9efc3d5f65ff0c. |
||||||
|
--- |
||||||
|
src/backends/native/meta-kms-impl-device-atomic.c | 1 + |
||||||
|
1 file changed, 1 insertion(+) |
||||||
|
|
||||||
|
diff --git a/src/backends/native/meta-kms-impl-device-atomic.c b/src/backends/native/meta-kms-impl-device-atomic.c |
||||||
|
index bcb41e8ad..bafbc7b8f 100644 |
||||||
|
--- a/src/backends/native/meta-kms-impl-device-atomic.c |
||||||
|
+++ b/src/backends/native/meta-kms-impl-device-atomic.c |
||||||
|
@@ -1159,6 +1159,7 @@ is_atomic_allowed (const char *driver_name) |
||||||
|
"vboxvideo", |
||||||
|
"nvidia-drm", |
||||||
|
"virtio_gpu", |
||||||
|
+ "tegra", |
||||||
|
NULL, |
||||||
|
}; |
||||||
|
|
||||||
|
-- |
||||||
|
2.34.1 |
||||||
|
|
Loading…
Reference in new issue