Package: libclutter-1.0-0
Version: 1.26.4+git2779b932+dfsg-7

During startup of applications like evolution, libclutter initializes the
wayland backend. The code there loops - while waiting for a wl_shell
interface. In newer wayland compositors like Hyperland this protocol is no
longer used. I have attached a patch that resolves this issue. This only
affects the backend code - no code in the wayland backend seems to use the
wl_shell interface. This is a minimal patch, one could also completely
remove wayland_shell from the code.

kind regards
Andreas
fix: clutter waits for wl_shell

wl_shell is deprecated
--- a/clutter/wayland/clutter-backend-wayland.c
+++ b/clutter/wayland/clutter-backend-wayland.c
@@ -216,8 +216,7 @@
                             backend_wayland);
 
   /* Wait until we have been notified about the compositor and shell objects */
-  while (!(backend_wayland->wayland_compositor &&
-           backend_wayland->wayland_shell))
+  while (!(backend_wayland->wayland_compositor))
     wl_display_roundtrip (backend_wayland->wayland_display);
 
   return TRUE;

Reply via email to