Re: [dev] Re: [dwm] How to make R's windows floating?

From: Anselm R Garbe <>
Date: Fri, 29 May 2009 09:03:16 +0100

2009/5/28 Wu, Yue <>:
> On Wed, May 27, 2009 at 09:46:34AM +0100, Anselm R Garbe wrote:
>> Hi,
>> the problem is that R sets the properties at a later point (once the
>> window has been mapped).
>> I propose to add the following key handler to your config.h
>> static void reapplyrules(const Arg *arg) {
>>         Client *c;
>>         for(c = clients; c; c = c->next)
>>                 applyrules(c);
>> }
>> And bind that to something like Mod1-r. This will reapply all rules to
>> all windows when executed (might be handy for other things as well).
> I haven't tested it, I don't think it's a good solution, because although it
> may do what I want, but apply rules in that time is a little late, because the
> pre-floating window has been changed its window size, I need to resize it by
> hand, not so handy.

I know, the only real solution would be to ask the R developers to set
proper instance/class hints on the windows they create and perhaps to
deal with transient_for correctly.

Kind regards,
Received on Fri May 29 2009 - 08:03:16 UTC

This archive was generated by hypermail 2.2.0 : Fri May 29 2009 - 08:12:01 UTC