[Rd] Possible x11 window manager window aggregation under one icon?
Duncan Murdoch
murdoch@dunc@n @end|ng |rom gm@||@com
Tue Mar 23 17:53:46 CET 2021
On 23/03/2021 11:54 a.m., Ivan Krylov wrote:
> On Tue, 23 Mar 2021 11:41:39 -0400
> Duncan Murdoch <murdoch.duncan using gmail.com> wrote:
>
>> It would probably be nice to have rgl windows and other R graphics
>> windows in the same group, but I don't see a way for rgl to know the
>> group_leader that R is using (and it's probably not worth adding this
>> to the API to be able to request it).
>>
>> Am I missing an easier solution?
>
> Do you envision any problems stemming from setting the same WM_CLASS
> ("r_x11", "R_x11") for rgl windows as used by x11() windows?
Since early 2013, rgl has set the WM_CLASS to ("rgl", "R_x11"). So I
think with your suggested change to R.desktop the problem is solved,
assuming the first component (res_name) doesn't matter as long as the
second one (res_class) matches.
Duncan Murdoch
More information about the R-devel
mailing list