We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 98298ea commit 3056435Copy full SHA for 3056435
8 files changed
src/compositor/compositor.c
@@ -998,8 +998,13 @@ sync_actor_stacking (MetaCompositor *compositor)
998
children = clutter_actor_get_children (priv->bottom_window_group);
999
for (tmp = children; tmp != NULL; tmp = tmp->next)
1000
{
1001
- MetaWindowActor *child = tmp->data;
1002
- MetaWindow *mw = meta_window_actor_get_meta_window (child);
+ ClutterActor *child = tmp->data;
+ MetaWindow *mw;
1003
+
1004
+ if (!META_IS_WINDOW_ACTOR (child))
1005
+ continue;
1006
1007
+ mw = meta_window_actor_get_meta_window (META_WINDOW_ACTOR (child));
1008
1009
if (mw != NULL)
1010
src/compositor/meta-surface-actor.c
@@ -94,7 +94,7 @@ get_scaled_region (MetaSurfaceActor *surface_actor,
94
float x, y;
95
96
window_actor = meta_window_actor_from_actor (CLUTTER_ACTOR (surface_actor));
97
- geometry_scale = meta_window_actor_get_geometry_scale (window_actor);
+ geometry_scale = window_actor ? meta_window_actor_get_geometry_scale (window_actor) : 1;
98
99
clutter_actor_get_position (CLUTTER_ACTOR (surface_actor), &x, &y);
100
cairo_region_translate (region, x, y);
@@ -331,7 +331,7 @@ meta_surface_actor_is_untransformed (MetaCullable *cullable)
331
clutter_actor_get_abs_allocation_vertices (actor, verts);
332
333
window_actor = meta_window_actor_from_actor (actor);
334
335
336
return meta_actor_vertices_are_untransformed (verts,
337
width * geometry_scale,
src/meson.build
@@ -518,6 +518,8 @@ if have_wayland
518
'wayland/meta-wayland-dnd-surface.h',
519
'wayland/meta-wayland-gtk-shell.c',
520
'wayland/meta-wayland-gtk-shell.h',
521
+ 'wayland/meta-wayland-layer-shell.c',
522
+ 'wayland/meta-wayland-layer-shell.h',
523
'wayland/meta-wayland.h',
524
'wayland/meta-wayland-idle-inhibit.c',
525
'wayland/meta-wayland-idle-inhibit.h',
@@ -805,6 +807,7 @@ if have_wayland
805
807
# - protocol version (if stability is 'unstable')
806
808
wayland_protocols = [
809
['gtk-shell', 'private', ],
810
+ ['wlr-layer-shell-unstable-v1', 'private', ],
811
['idle-inhibit', 'unstable', 'v1', ],
812
['keyboard-shortcuts-inhibit', 'unstable', 'v1', ],
813
['linux-dmabuf', 'unstable', 'v1', ],
0 commit comments