[Spice-devel] [PATCH vdagent v4 4/4] x11: update wms_with_icons_on_desktop[] to support Mate

Jakub Janků janku.jakub.jj at gmail.com
Tue Dec 5 18:45:53 UTC 2017


Since version 1.9.2, Marco sets _NET_WM_NAME to "Metacity (Marco)"
instead of "Marco", see:

http://git.mate-desktop.org/marco/commit/?id=cbf24f5d78719b930fc0cd6c0c80e00e9d62c95a

Add this new value to wms_with_icons_on_desktop[], so that
vdagent_x11_has_icons_on_desktop() returns TRUE.
---
 src/vdagent/x11.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/vdagent/x11.c b/src/vdagent/x11.c
index fcbd01d..2575a97 100644
--- a/src/vdagent/x11.c
+++ b/src/vdagent/x11.c
@@ -1296,6 +1296,7 @@ int vdagent_x11_has_icons_on_desktop()
         "Metacity", /* GNOME-2 or GNOME-3 fallback */
         "Xfwm4",    /* Xfce */
         "Marco",    /* Mate */
+        "Metacity (Marco)", /* Mate, newer */
         NULL
     };
     const gchar *net_wm_name = vdagent_x11_get_wm_name();
-- 
2.14.3



More information about the Spice-devel mailing list