Re: [dwm] application open in main window only

From: y i y u s <yiyu.jgl_AT_gmail.com>
Date: Fri, 15 Feb 2008 09:07:28 +0100

2008/2/14, Jacek Hoffman <jhoffman_AT_ippt.gov.pl>:
> My question:
> is it possible to force some applications (or all of them) in tiling mode
> to open their windows only in the left hand side (main window) even when
> no other window is open?
> Sometimes I have to use some placeholder (browser new window, empty xterm
> or Mod+0)
>

Sure, it is very easy. In the tile function (dwm.c:1727) you have:
mw = (n == 1) ? m->waw : m->mwfact * m->waw;
and you want:
mw = m->mwfact * m->waw;
I think that's all, but I haven't tested it.
hth,

-- 
- yiyus || JGL .
Received on Fri Feb 15 2008 - 09:07:29 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:19:46 UTC