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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]