Re: WM_NAME vs. _NET_WM_NAME

Rhialto <[email protected]> Mon, 27 Oct 2014 18:07:45 +0100
Newsgroups gmane.comp.gnome.wm-spec
Message-ID <[email protected]>
--===============9038972671325013087==
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="1IOPqZ3f1xe/JZlz"
Content-Disposition: inline


--1IOPqZ3f1xe/JZlz
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon 27 Oct 2014 at 08:59:17 +0100, Martin Gr=E4=DFlin wrote:
> Qt 5's XCB backend doesn't support many "deprecated" features where there=
 is a=20
> EWMH replacement. For example it also doesn't support setting a window ic=
on=20
> through the WM_HINTS (ICCCM section 4.1.2.4) property. Given that I=20
> interpreted this as a design decision to not support the "deprecated" hin=
ts in=20
> the new implementation.

Does it check first if the relevant EWMH feature is supposed to be
supported by the window manager? If not, that is a bug (in Qt), in my
opinion.

In my mind there can be two ways an application goes about it:

- blindly use EWMH features, but then it should set related ICCCM
  properties as well, for interoperability.

- check for EWMH features, and use them if supported. Otherwise, use
  ICCCM features instead.

After all, there are plenty of window managers which don't support EWMH,
or don't support it in all respects.

Since window managers can be changed at any time, I think that the
first approach is somewhat safer -- an application has to do a lot of
work to detect that the window manager suddenly does not support
_NET_WM_NAME any more, and compensate for that.

-Olaf.
--=20
___ Olaf 'Rhialto' Seibert  -- The Doctor: No, 'eureka' is Greek for
\X/ rhialto/at/xs4all.nl    -- 'this bath is too hot.'

--1IOPqZ3f1xe/JZlz
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQEcBAEBAgAGBQJUTnvgAAoJEJmJxkVhw/vTfdAIAI9PKkmTGHxMa8xiV7Xmk+T7
qjmM31iNmcZeVUBmTEC70W3AI2vRcdFBW1tW8YqyisI56XZYIfbObDCOvwpzy9O+
CWXVsGuHJKgUKWu90nxRHYFRuSW+pCFNcAzdqj2FUmRS2xIgqrclCkABZt7JE+84
PZZLEymUWmgKCcxsw94y5WLhW6MI5LHwoHsDsELO1KlmOJ8R5e85R6cp1DrgzyYH
vmfOcyzGy858zG54QTP/V1EDYUa2CJw1pYdSjydOEzdnKEaJYjUw78Ub6C5sZMI2
t9qspyZ4nG0TyDRbLQpDceQhhey85gnxp7xqywgYB5vmlXVWqS2rvAK7USRX8tY=
=dFM4
-----END PGP SIGNATURE-----

--1IOPqZ3f1xe/JZlz--

--===============9038972671325013087==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
wm-spec-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/wm-spec-list

--===============9038972671325013087==--