Merge ~3v1n0/ubuntu/+source/mutter:ubuntu/eoan into ~ubuntu-desktop/ubuntu/+source/mutter:ubuntu/eoan

Proposed by Marco Trevisan (Treviño)
Status: Merged
Merged at revision: 31cfc36b66d64c48182e6dc0c974e1bfab0b510b
Proposed branch: ~3v1n0/ubuntu/+source/mutter:ubuntu/eoan
Merge into: ~ubuntu-desktop/ubuntu/+source/mutter:ubuntu/eoan
Diff against target: 198 lines (+128/-4)
7 files modified
NEWS (+8/-0)
clutter/clutter/clutter-stage.c (+2/-2)
debian/changelog (+44/-0)
debian/patches/EGL-Include-EGL-eglmesaext.h.patch (+67/-0)
debian/patches/series (+1/-0)
meson.build (+1/-1)
src/backends/meta-screen-cast-window-stream.c (+5/-1)
Reviewer Review Type Date Requested Status
Ubuntu Desktop Pending
Review via email: mp+377259@code.launchpad.net
To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
diff --git a/NEWS b/NEWS
index da99622..38e94df 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,11 @@
13.34.3
2======
3* Fix window recording on HiDPI [Pascal; !976]
4* Fix top-left pixel being insensitive to clicks [Sebastian; #893]
5
6Contributors:
7 Sebastian Keller, Pascal Nowack
8
13.34.293.34.2
2======10======
3* Fix immediate screen blank after releasing inhibitor [Tim; #573]11* Fix immediate screen blank after releasing inhibitor [Tim; #573]
diff --git a/clutter/clutter/clutter-stage.c b/clutter/clutter/clutter-stage.c
index c4b88b3..06eb9dd 100644
--- a/clutter/clutter/clutter-stage.c
+++ b/clutter/clutter/clutter-stage.c
@@ -486,9 +486,9 @@ is_inside_axis_aligned_rectangle (const ClutterPoint *point,
486 const ClutterPoint *vertices)486 const ClutterPoint *vertices)
487{487{
488 float min_x = FLT_MAX;488 float min_x = FLT_MAX;
489 float max_x = FLT_MIN;489 float max_x = -FLT_MAX;
490 float min_y = FLT_MAX;490 float min_y = FLT_MAX;
491 float max_y = FLT_MIN;491 float max_y = -FLT_MAX;
492 int i;492 int i;
493493
494 for (i = 0; i < 3; i++)494 for (i = 0; i < 3; i++)
diff --git a/debian/changelog b/debian/changelog
index c5753d3..7ae3180 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,47 @@
1mutter (3.34.3-1ubuntu1~19.10.1) UNRELEASED; urgency=medium
2
3 * Backport to eoan (LP: #1858683)
4
5 -- Marco Trevisan (Treviño) <marco@ubuntu.com> Tue, 07 Jan 2020 20:12:12 +0100
6
7mutter (3.34.3-1ubuntu1) focal; urgency=medium
8
9 * Merge with debian. Remaining changes:
10 + debian/control:
11 - Update VCS flags to point to launchpad
12 + debian/gbp.conf: update branch to point to ubuntu/master
13 + debian/patches/x11-Add-support-for-fractional-scaling-using-Randr.patch:
14 - X11: Add support for fractional scaling using Randr
15
16 -- Iain Lane <iain.lane@canonical.com> Mon, 06 Jan 2020 17:56:09 +0000
17
18mutter (3.34.3-1) unstable; urgency=medium
19
20 * New upstream release
21 + Fix window recording on HiDPI
22 + Fix top-left pixel being insensitive to clicks (LP: #1849135)
23
24 -- Iain Lane <laney@debian.org> Mon, 06 Jan 2020 13:39:48 +0000
25
26mutter (3.34.2-2ubuntu1) focal; urgency=medium
27
28 * Merge with debian. Remaining changes:
29 + debian/control:
30 - Update VCS flags to point to launchpad
31 + debian/gbp.conf: update branch to point to ubuntu/master
32 + debian/patches/x11-Add-support-for-fractional-scaling-using-Randr.patch:
33 - X11: Add support for fractional scaling using Randr
34
35 -- Iain Lane <iain.lane@canonical.com> Sun, 22 Dec 2019 17:24:36 +0000
36
37mutter (3.34.2-2) unstable; urgency=medium
38
39 * d/p/EGL-Include-EGL-eglmesaext.h.patch: Cherry pick from master. This
40 fixes the generated EGL includes for the move of exlext.h from mesa to
41 libglvnd, which has just happened in Debian.
42
43 -- Iain Lane <laney@debian.org> Sun, 22 Dec 2019 15:42:09 +0000
44
1mutter (3.34.2-1ubuntu1~19.10.1) eoan; urgency=medium45mutter (3.34.2-1ubuntu1~19.10.1) eoan; urgency=medium
246
3 * Backport to eoan.47 * Backport to eoan.
diff --git a/debian/patches/EGL-Include-EGL-eglmesaext.h.patch b/debian/patches/EGL-Include-EGL-eglmesaext.h.patch
4new file mode 10064448new file mode 100644
index 0000000..4efad61
--- /dev/null
+++ b/debian/patches/EGL-Include-EGL-eglmesaext.h.patch
@@ -0,0 +1,67 @@
1From: "Jan Alexander Steffens (heftig)" <jan.steffens@gmail.com>
2Date: Sun, 20 Oct 2019 12:04:31 +0200
3Subject: EGL: Include EGL/eglmesaext.h
4
5The eglext.h shipped by libglvnd does not include the Mesa extensions,
6unlike the header shipped in Mesa.
7
8Fixes https://gitlab.gnome.org/GNOME/mutter/issues/876
9
10Origin: upstream, commit:a444a4c5f58ea516ad3cd9d6ddc0056c3ca9bc90
11Applied-Upstream: 3.35.2
12---
13 cogl/cogl/meson.build | 2 +-
14 src/backends/meta-egl-ext.h | 1 +
15 src/backends/meta-egl.c | 1 +
16 src/backends/meta-egl.h | 1 +
17 4 files changed, 4 insertions(+), 1 deletion(-)
18
19diff --git a/cogl/cogl/meson.build b/cogl/cogl/meson.build
20index 1057ef9..9a64294 100644
21--- a/cogl/cogl/meson.build
22+++ b/cogl/cogl/meson.build
23@@ -48,7 +48,7 @@ cogl_gl_header_h = configure_file(
24 built_headers += [cogl_gl_header_h]
25
26 if have_egl
27- cogl_egl_includes_string = '#include <EGL/egl.h>\n#include <EGL/eglext.h>'
28+ cogl_egl_includes_string = '#include <EGL/egl.h>\n#include <EGL/eglext.h>\n#include <EGL/eglmesaext.h>'
29 else
30 cogl_egl_includes_string = ''
31 endif
32diff --git a/src/backends/meta-egl-ext.h b/src/backends/meta-egl-ext.h
33index 8705e7d..db0b74f 100644
34--- a/src/backends/meta-egl-ext.h
35+++ b/src/backends/meta-egl-ext.h
36@@ -29,6 +29,7 @@
37
38 #include <EGL/egl.h>
39 #include <EGL/eglext.h>
40+#include <EGL/eglmesaext.h>
41
42 /*
43 * This is a little different to the tests shipped with EGL implementations,
44diff --git a/src/backends/meta-egl.c b/src/backends/meta-egl.c
45index 6554be9..fdeff4f 100644
46--- a/src/backends/meta-egl.c
47+++ b/src/backends/meta-egl.c
48@@ -27,6 +27,7 @@
49
50 #include <EGL/egl.h>
51 #include <EGL/eglext.h>
52+#include <EGL/eglmesaext.h>
53 #include <gio/gio.h>
54 #include <glib.h>
55 #include <glib-object.h>
56diff --git a/src/backends/meta-egl.h b/src/backends/meta-egl.h
57index f2a8164..4591e7d 100644
58--- a/src/backends/meta-egl.h
59+++ b/src/backends/meta-egl.h
60@@ -28,6 +28,7 @@
61
62 #include <EGL/egl.h>
63 #include <EGL/eglext.h>
64+#include <EGL/eglmesaext.h>
65 #include <glib-object.h>
66
67 #define META_EGL_ERROR meta_egl_error_quark ()
diff --git a/debian/patches/series b/debian/patches/series
index 8590a4e..a3ecc5d 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
1EGL-Include-EGL-eglmesaext.h.patch
1theme-use-gtk_render_icon_suface-to-paint-button-icon.patch2theme-use-gtk_render_icon_suface-to-paint-button-icon.patch
2theme-load-icons-as-Gtk-does-with-fallback-and-RTL-suppor.patch3theme-load-icons-as-Gtk-does-with-fallback-and-RTL-suppor.patch
3meson-add-back-default_driver-option.patch4meson-add-back-default_driver-option.patch
diff --git a/meson.build b/meson.build
index efea15c..036cc8d 100644
--- a/meson.build
+++ b/meson.build
@@ -1,5 +1,5 @@
1project('mutter', 'c',1project('mutter', 'c',
2 version: '3.34.2',2 version: '3.34.3',
3 meson_version: '>= 0.50.0',3 meson_version: '>= 0.50.0',
4 license: 'GPLv2+'4 license: 'GPLv2+'
5)5)
diff --git a/src/backends/meta-screen-cast-window-stream.c b/src/backends/meta-screen-cast-window-stream.c
index 50d1806..b9a732c 100644
--- a/src/backends/meta-screen-cast-window-stream.c
+++ b/src/backends/meta-screen-cast-window-stream.c
@@ -226,11 +226,15 @@ meta_screen_cast_window_stream_initable_init (GInitable *initable,
226 G_CALLBACK (on_window_unmanaged),226 G_CALLBACK (on_window_unmanaged),
227 window_stream);227 window_stream);
228228
229 if (meta_is_stage_views_scaled ())
230 scale = (int) ceilf (meta_logical_monitor_get_scale (logical_monitor));
231 else
232 scale = 1;
233
229 /* We cannot set the stream size to the exact size of the window, because234 /* We cannot set the stream size to the exact size of the window, because
230 * windows can be resized, whereas streams cannot.235 * windows can be resized, whereas streams cannot.
231 * So we set a size equals to the size of the logical monitor for the window.236 * So we set a size equals to the size of the logical monitor for the window.
232 */237 */
233 scale = (int) ceil (meta_logical_monitor_get_scale (logical_monitor));
234 window_stream->logical_width = logical_monitor->rect.width;238 window_stream->logical_width = logical_monitor->rect.width;
235 window_stream->logical_height = logical_monitor->rect.height;239 window_stream->logical_height = logical_monitor->rect.height;
236 window_stream->stream_width = logical_monitor->rect.width * scale;240 window_stream->stream_width = logical_monitor->rect.width * scale;

Subscribers

People subscribed via source and target branches