Re: [dev] MaxFloat support?

From: Yue Wu <vanopen_AT_gmail.com>
Date: Mon, 26 Apr 2010 20:05:17 +0800

Sorry for so long delay, due to one error with mutt's configuration.

On Thu, Apr 22, 2010 at 08:08:06AM +0200, Szabolcs Nagy wrote:
> On 4/22/10, Yue Wu <vanopen_AT_gmail.com> wrote:
> > is. But,
> > sometimes I want some windows can be always maximized after running and
> > still
> > is a floating window, so my question is, how to make dwm can auto-maximize
> > this type of windows and still keep them be 'isfloating'? Maybe can add a
> > feature that can assign them a type of 'ismaxfloating' property? The
> > 'monocle'
> > layout isn't what I want at all, in this mode, every window will be
> > maximized.
>
> if a window is maximized then i'm not sure what does it matter if it's
> floating or not

NonFloating means the window can be overlayed with a Floating one, so, for
example, if a maximized NonFloating window is overlayed with a maxmized
Floating one, I have to: 1) move the floating window to other tag, or, 2)
resize the floating window to smaller size, or, 3) close the floating's
window.

>
> if you need a layout which is similar to monocle but maximizes
> isfloating windows as well, then i guess you need to hack dwm.c a lot
> since floating windows are handled specially (eg resizehints is always
> on for them, they are raised on top of other windows in manage and
> restack..)
>
> if you don't want a new layout just maximization on when it's opened,
> then you should hack manage() to set up the window size, but there is
> no guarantee that the window will not set its size later

I haven't tried monocle layout much, I guess monocle layout is the one that
makes all window maximized. And I don't know programming at all...

-- 
Regards,
Yue Wu
Key Laboratory of Modern Chinese Medicines
Department of Traditional Chinese Medicine
China Pharmaceutical University
No.24, Tongjia Xiang Street, Nanjing 210009, China
Received on Mon Apr 26 2010 - 12:05:17 UTC

This archive was generated by hypermail 2.2.0 : Mon Apr 26 2010 - 12:12:02 UTC