2009/5/28 Wu, Yue <[email protected]>: > 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, Anselm
