Re: FVWM: Preventing dynamic icons for NoIcon apps

From: Dominik Vogt <fvwm_at_fvwm.org>
Date: Fri, 2 Apr 2004 12:02:07 +0200

On Fri, Apr 02, 2004 at 11:27:06AM +0200, Remko Troncon wrote:
> Hi,
>
> I should probably make this a personal question, but since i think a lot
> of users use this feature, i thought i'ld ask it publicly.
> When using taviso's rc lines for having dynamic icons for applications
> when minimizing (http://dev.gentoo.org/~taviso/screenshot6.png), i would like
> to have that only icons are generated for applications that don't have the
> NoIcon windowstyle. Is this possible ?

You can make something up using the "State" style. All windows
for which an icon should be generated have the state set. You
can then trigger icon generation in a function, e.g.

  Style * state 11
  Style foo !state 11
  addtofunc my_iconify
  + i iconify
  + i thiswindow (State 11) function generate_dynamic_icon
  ...

(the syntax in above example may be wrong, I did not check it).

Ciao

Dominik ^_^ ^_^
--
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 Fri Apr 02 2004 - 04:04:43 BST

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