FVWM: Trigger function for switch decor

From: Viktor Vislobokov <vvislobokov_at_lukoilperm.ru>
Date: Mon, 15 Mar 2004 09:43:43 +0500

Hello All.

   I have a problem with fvwm 2.5.9.
   In order Windooze behavior emulation, I try to change pixmap over
maximize button while a window coming maximizing. I have two decors:
first with icon1.xpm over maximize button and second with icon2.xpm over
maximize button.
    I wrote function MaxFunction as follow:

AddToFunc MaxFunction
+ I ChangeDecor Decor1
+ I TestRc (Maximized) ChangeDecor Decor2

   I bound this function on press maximize button event.

   At result: while a window maximized, it decor is changed, but
while the window unmaximized, it decor is not changed. There is
stay icon2.xpm over maximize button.

   Where are I wrong?

-- 
С уважением, Виктор
--
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 Sun Mar 14 2004 - 22:47:25 GMT

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