FVWM: Changing decors without Recapture

From: Tim Phipps <timbo_at_computer.hpl.hp.com>
Date: Mon, 23 Jun 1997 18:03:21 +0100 (BST)

I've started playing with decors and I'm getting confused. I've created a menu
that is intended to change the decors of all the windows on the scren without
the visual disturbance of recapture. Here's the RC stuff (Sorry about the line
wrap):

AddToMenu menu_decor
+ "WM Style" Title
+ "&Default" decor_fvwm
+ "&Pixmap" decor_pixmap

AddToFunc decor_fvwm "I" DestroyDecor my_decor
+ "I" UpdateDecor my_decor

AddToFunc decor_pixmap "I" DestroyDecor my_decor
+ "I" AddToDecor my_decor WindowFont BOLD_MEDIUM
+ "I" AddToDecor my_decor BorderStyle Active TiledPixmap
pool.xpm -- HiddenHandles NoInset
+ "I" AddToDecor my_decor BorderStyle InActive TiledPixmap
concrete.xpm -- HiddenHandles NoInset
+ "I" AddToDecor my_decor TitleStyle Height 16 -- Flat
+ "I" AddToDecor my_decor ButtonStyle 1 MiniIcon --
UseBorderStyle Sunk
+ "I" AddToDecor my_decor HilightColor FG TS
+ "I" UpdateDecor my_decor

Style "*" UseDecor my_decor

Here is what happens:
decor_fvwm works as expected. All windows return to the default FVWM look.
decor_pixmap doesn't work as expected. All windows remain with the FVWM look
until a recapture is executed. Even then the titlebars remain in the FVWM look
until the window has been focused.

Am I doing the wrong thing here?
Tim Phipps.


--
Visit the official FVWM web page at <URL:http://www.hpc.uh.edu/fvwm/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_hpc.uh.edu.
To report problems, send mail to fvwm-owner_at_hpc.uh.edu.
Received on Mon Jun 23 1997 - 12:03:48 BST

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:38:00 BST