Message-ID: <5907E42F-9E7D-4FE2-A98D-16CEF712AEBB@gmail.com>
Date: 2011-06-17T14:26:57Z
From: Peter Dalgaard
Subject: X11 device windows are spawned with empty WM_NAME property
In-Reply-To: <alpine.LFD.2.02.1106171424170.19460@gannet.stats.ox.ac.uk>
On Jun 17, 2011, at 15:32 , Prof Brian Ripley wrote:
>>>
>>> Is this behavior intended? Would be it be reasonable to instead create
>>> windows with a generic name like "R Graphics" prior to updating them with
>>> the device number and active/inactive status?
>
> Yes, no.
>
Well, "yes, maybe", I'd say. If the WM insists on looking at the title, it makes some pragmatic sense for the user to set it to a generic name that the WM can recognize.
However, on revisiting this, the obvious fix/workaround is just to set
X11.options(title="R Graphics: Device %d")
and the user can do this in his/her startup files. No need to inflict it on every user with any WM.
--
Peter Dalgaard
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Email: pd.mes at cbs.dk Priv: PDalgd at gmail.com