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

Victor Toso victortoso at redhat.com
Wed Dec 6 15:19:43 UTC 2017


Hi,

On Tue, Dec 05, 2017 at 07:45:53PM +0100, Jakub Janků wrote:
> 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

Awesome, thanks!

> Add this new value to wms_with_icons_on_desktop[], so that
> vdagent_x11_has_icons_on_desktop() returns TRUE.

Yep.
Acked-by: Victor Toso <victortoso at redhat.com>

I'll push the series by tomorrow.

Cheers,
        toso

> ---
>  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 at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/spice-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20171206/f9ccd48b/attachment.sig>


More information about the Spice-devel mailing list