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

From: Wu, Yue <>
Date: Fri, 29 May 2009 06:41:30 +0800

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.

Wu, Yue
Received on Thu May 28 2009 - 22:41:30 UTC

This archive was generated by hypermail 2.2.0 : Thu May 28 2009 - 22:48:01 UTC