mutter:gnome-46

Last commit made on 2024-05-03
Get this branch:
git clone -b gnome-46 https://git.launchpad.net/mutter

Branch merges

Branch information

Name:
gnome-46
Repository:
lp:mutter

Recent commits

35836f0... by Marco Trevisan (Treviño)

x11/window: Add proper type guard to x11-specific public API calls

These functions are specific for X11 windows only so we should check
if the passed window is an X11 one, not just a MetaWindow since we're
casting to the actual type at later point.

Fixes changes part of commit e1e6534eb

f54579a... by Marco Trevisan (Treviño)

x11/window: Add type-check guard to meta_window_x11_get_group()

Since this is still public API we want to ensure that we don't cast
it directly without having checked its type

a951c09... by Marco Trevisan (Treviño)

x11/window: Do not try to compare a wayland active window with X11

If a window sends a configure stacking request, we were comparing the
active window with the event window even though they were different
client types (e.g. wayland and x11).

This was leading to a critical error, so let's handle this by ensuring
that the active window is of the same kind of the event window before
doing x11-specific checks. Behaving as different applications in case.

1a87e8e... by Daniel van Vugt

backends/native: Remove unused meta_kms_device_add_fake_plane_in_impl

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3676>
(cherry picked from commit f3a52551f1bfc909d534df335a1c3009a6d15dfc)

6506994... by Daniel van Vugt

backends/native: Add fake cursor plane using impl_device's crtcs

Because `meta_kms_impl_device_simple_initable_init` is called in the
middle of `meta_kms_device_new`, the crtcs list for `MetaKmsDevice`
has not been populated yet. And thus the loop to detect missing
cursor planes and create fake ones never iterated. But the crtcs list
does already exist in `MetaKmsImplDevice` so iterate over that instead.

Closes: https://gitlab.gnome.org/GNOME/mutter/-/issues/3264
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3676>
(cherry picked from commit 14e18de90d418e2bb33f5e0621162feb268e588f)

aa93da7... by Daniel van Vugt

kms/impl-device: Add function meta_kms_impl_device_has_cursor_plane_for

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3676>
(cherry picked from commit b620dbb1888eb506ad46ba621f410523f5fbf9b4)

d9fe198... by Hugo Carvalho

Update Portuguese translation

b57c806... by =?utf-8?q?Florian_M=C3=BCllner?= <email address hidden>

Bump version to 46.1

Update NEWS.

1fdae4f... by Carlos Garnacho

wayland: Drop meta_wayland_keyboard_get_focus_client()

All its users did not necessarily depend on a MetaWaylandKeyboard
existing, so were ported to using the MetaWaylandSeat global input
focus. This may now be dropped.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3707>

9bdb00c... by Carlos Garnacho

wayland: Follow seat's input focus client for primary selections

The concept of "input focus" will exist regardless of a MetaWaylandKeyboard
being available or not, use the seat's focus for that.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3707>