Re: [dev] [dwm] [PATCH] Configure geometry before applying rules
Hi Eric,
On 26 May 2016 at 01:57, Eric Pruitt <eric.pruitt_AT_gmail.com> wrote:
> Since dwm doesn't expose enough of the X11 properties to use Devil's
> Pie, I am using changes inside of applyrules to modify window locations
> and geometry. As part of my changes, I needed client geometry properties
> to be set before the applyrules function is called because I need to
> know where a window is initially located to determine if it needs to be
> modified. I don't see anything that indicates the geometry assignments
> **must** occur before calling applyrules, so I think it would be a good
> to move the geometry assignments permanently in the suckless repo; most
> people "configure" dwm by patching it, and this change would make it
> easier to add more complex constraints to applyrules. I've attached a
> patch with this change to my email.
I think this change can be applied. At some point I did some kludges
to decide if something is floating (or fullscreen) in applyrules, and
at that time it was important to have the geometry applied after
applyrules. I'm still thinking about it, but can't see anything
harmful right now.
If I share the same view tomorrow, I will apply your patch.
BR,
Anselm
Received on Wed Jun 08 2016 - 10:00:16 CEST
This archive was generated by hypermail 2.3.0
: Wed Jun 08 2016 - 10:12:11 CEST