From: <dom...@us...> - 2011-06-12 20:55:46
|
Revision: 112 http://fvwm-crystal.svn.sourceforge.net/fvwm-crystal/?rev=112&view=rev Author: dominique_libre Date: 2011-06-12 20:55:38 +0000 (Sun, 12 Jun 2011) Log Message: ----------- Initial transparency support Modified Paths: -------------- ChangeLog README doc/Mouse bindings.txt fvwm/components/functions/Preferences-Menu fvwm/components/functions/Window-Basic Added Paths: ----------- fvwm/components/bindings/Window-Transparency Modified: ChangeLog =================================================================== --- ChangeLog 2011-06-12 20:08:48 UTC (rev 111) +++ ChangeLog 2011-06-12 20:55:38 UTC (rev 112) @@ -6,6 +6,7 @@ * Added missing speed variable initialisation * Updated DesktopDir in fvwm-crystal.generate-menu * Added font icons + * Added initial support for transparency using transset-df and xcompmgr Vendredi 10 juin 2011 Dominique Michel * Reversed wallpaper changes. Use the same wallpaper on all the desk pages. Modified: README =================================================================== --- README 2011-06-12 20:08:48 UTC (rev 111) +++ README 2011-06-12 20:55:38 UTC (rev 112) @@ -18,6 +18,8 @@ - Transparent elements of the interface: panels, menus, dialogs (pseudo-transparency, doesn't show windows underneath). + The windows can be made transparent if xcompmgr and transset-df are installed + (real transparency). - Window decorations, panel/menu color-sets and desktop wallpaper changeable from the main menu; choice saved for next X sessions. Modified: doc/Mouse bindings.txt =================================================================== --- doc/Mouse bindings.txt 2011-06-12 20:08:48 UTC (rev 111) +++ doc/Mouse bindings.txt 2011-06-12 20:55:38 UTC (rev 112) @@ -13,6 +13,7 @@ LMB - Left Mouse Button RMB - Right Mouse Button MMB - Middle Mouse Button + Wheel - The mouse wheel The Desktop @@ -62,6 +63,8 @@ Alt + MMB Resize selected window (move bottom-right corner). +Wheel + Increase or decrease the transparency of the selected window. Window's titlebar ----------------------------------------------------------------------------- Added: fvwm/components/bindings/Window-Transparency =================================================================== --- fvwm/components/bindings/Window-Transparency (rev 0) +++ fvwm/components/bindings/Window-Transparency 2011-06-12 20:55:38 UTC (rev 112) @@ -0,0 +1,6 @@ +# Basic window transparency bindings + +Mouse 4 T $[Mod] Window-Increase-Transparency +Mouse 5 T $[Mod] Window-Decrease-Transparency + +# vim:ft=fvwm Modified: fvwm/components/functions/Preferences-Menu =================================================================== --- fvwm/components/functions/Preferences-Menu 2011-06-12 20:08:48 UTC (rev 111) +++ fvwm/components/functions/Preferences-Menu 2011-06-12 20:55:38 UTC (rev 112) @@ -8,6 +8,7 @@ + '%22x22/fvwm-crystal/user-desktop.png%$[gt.Used recipe]' Popup /Preferences/Recipes + '%22x22/fvwm-crystal/font.png%$[gt.Characters fonts]' Popup /Preferences/Fonts + '%22x22/fvwm-crystal/font.png%$[gt.Fonts sizes]' Popup /Preferences/FontSizes +Test (x xcompmgr) Test (x transset-df) + '%22x22/fvwm-crystal/fvwm-crystal.png%$[gt.Transparency]' Popup /Preferences/Transparency + '%22x22/fvwm-crystal/utilities-terminal.png%$[gt.Default terminal]' Popup /Preferences/DefaultTerminal + '%22x22/fvwm-crystal/utilities-terminal.png%$[gt.FvwmConsole terminal]' Popup /Preferences/FvwmConsoleTerminal + '%22x22/fvwm-crystal/utilities-terminal.png%$[gt.QuakeConsole terminal]' Popup /Preferences/QuakeConsoleTerminal @@ -164,6 +165,14 @@ + I MenuStyle * Font "xft:$[menu_font]:pixelsize=$[0]:encoding=iso10646-1" # +# Transparency +# +DestroyMenu /Preferences/Transparency +AddToMenu /Preferences/Transparency ++ '%22x22/fvwm-crystal/fvwm-crystal.png%$[gt.Start transparency]' Exec exec xcompmgr ++ '%22x22/fvwm-crystal/fvwm-crystal.png%$[gt.Stop transparency]' Exec exec killall -9 xcompmgr + +# # Default terminal # DestroyMenu /Preferences/DefaultTerminal Modified: fvwm/components/functions/Window-Basic =================================================================== --- fvwm/components/functions/Window-Basic 2011-06-12 20:08:48 UTC (rev 111) +++ fvwm/components/functions/Window-Basic 2011-06-12 20:55:38 UTC (rev 112) @@ -114,4 +114,12 @@ + I Iconify + I Layer 0 2 +DestroyFunc Window-Increase-Transparency +AddToFunc Window-Increase-Transparency ++ I Exec exec transset-df --actual --max 1 --inc .05 + +DestroyFunc Window-Decrease-Transparency +AddToFunc Window-Decrease-Transparency ++ I Exec exec transset-df --actual --min 0 --dec .05 + # vim:ft=fvwm This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |