Re: FVWM: Changing style of maximized window?

From: Dan Espen <dane_at_mk.telcordia.com>
Date: Tue, 22 Apr 2003 18:31:48 -0400

"Felix E. Klee" <felix.klee.fvwm_at_gmx.net> writes:
> On Tuesday 22 April 2003 22:38, Felix E. Klee wrote:
> > Hm, can't this somehow be modified to do what I want? I tried it, but I
> > was unsuccessful.
>
> Stupid me - of course it seems to be possible. For example
>
> DestroyFunc FuncFvwmMaximizeFullScreen
> AddToFunc FuncFvwmMaximizeFullScreen
> + I ThisWindow (Maximized) Style $n Title, BorderWidth 4, HandleWidth 4
> + I CondCase (NoMatch) Style $n NoTitle, BorderWidth 16, HandleWidth 16
> + I CondCase (NoMatch) Raise
> + I CondCase (NoMatch) UpdateStyles
> + I Maximize
>
> works. Now I just need to better understand the above commands and tune this
> to make it look nice. BTW, what is that "$n" variable, I couldn't find it
> in the man page?

I would have suggested $n but I think its not a general purpose solution.
If you have one emacs frame maximized and another not maximized, the above
will change both of them.

It may be good enough though. I usually work with 2 xemacs frames, but
I change the second frames resource name ($r) with:

  (select-frame (make-frame '((name . "uniquename"))))

Anyway, I'm happy you found what you needed.

-- 
Dan Espen                           E-mail: dane_at_mk.telcordia.com
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Tue Apr 22 2003 - 17:35:10 BST

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:54 BST