Re: [dev] [dwm] floating window if fullscreen

From: Nick <suckless-dev_AT_njw.me.uk>
Date: Tue, 25 Jan 2011 01:51:32 +0000

Quoth TJ Robotham:
> Basically, when a client is first created dwm checks to see if its dimensions
> are the same as that of the monitor it's on. If so then the window is set to
> floating. This logic appears after applying any rules, a rule explicitly
> setting the window to be non-floating will be overriden by this behaviour.
> (I'm presuming that this is in order to respect fullscreen programs even when
> in a different layout.) If you have no use for this, then you can always
> remove it from your version (look in the function manage).

Thanks a lot for the explanation TJ.

I hadn't quite realised how readable the dwm source is :-)

As I mostly use monocle layout (I'm using a netbook), this behaviour
isn't ideal for me. Attached is a patch removing that functionality,
in case anyone else finds it useful.

Nick

Received on Tue Jan 25 2011 - 02:51:32 CET

This archive was generated by hypermail 2.2.0 : Tue Jan 25 2011 - 02:48:02 CET