How can a client identify the window manager version?

Carsten Haitzler (The Rasterman) raster at rasterman.com
Wed Nov 2 05:11:30 PST 2005


On Wed, 02 Nov 2005 13:08:46 +0100 Xavier Bestel <xavier.bestel at free.fr>
babbled:

> Markus Kuhn wrote:
> >   - adapting client behaviour to particular window managers (e.g.,
> > differently phrased help messages or graphical instructions)
> 
> IMHO this is a slippery slope which will introduce dangerous behaviors $(D+"(B
> la java: having an app reacting differently depending on the WM causes
> subtles and hard-to-debug problems, and is fragile at best (what do you
> do for configurable WMs like sawfish, for unknown WMs, for newer
> versions with different behavior ?).

indeed. a ver slippery slope. java does this and has proven to be royally bad
at it. it detects some wm's then completely ignores everythng else and does a
absolute worst job at it. even the wm's it special cases are liable to change -
if java is doing workarounds.

basically if you have issues with particular wm's please bring them up with the
wm authors. most are open to discussion and fi you've found a bug will be more
than glad to fix it. always try make a generic solution instead of a "specific
per wm" one :)


-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    raster at rasterman.com
$BMg9%B?(B
Tokyo, Japan ($BEl5~(B $BF|K\(B)



More information about the xorg mailing list