# HG changeset patch # User Oleksandr Gavenko # Date 1388778252 -7200 # Node ID c7b31ee5331ba99085ff4b59a4986379e5ef650b # Parent 38bd101ecd963d3a675be3b2c77b34d70bb5f76a Group window styles configuration to common place. Avoid MwmDecor as it damage resizing and closing transient windows. diff -r 38bd101ecd96 -r c7b31ee5331b .fvwm/config --- a/.fvwm/config Fri Jan 03 20:02:49 2014 +0200 +++ b/.fvwm/config Fri Jan 03 21:44:12 2014 +0200 @@ -130,12 +130,10 @@ Style "*" BorderWidth 6, HandleWidth 6 # NoDecorHint, OLDecor, MwmDecor -Style "*" MwmDecor +# MwmDecor remove border from transient windows (like Firefox network log) so you can't resize/close this windows. +Style "*" NoDecorHint # MwmBorder, FvwmBorder, DepressableBorder, FirmBorder Style "*" MwmBorder -# With Mwm resize and move feedback windows are in the center of the screen, instead of -# the upper left corner. Available: Fvwm, Mwm, Win. -Emulate Mwm # Mwm and Win style menus popup sub menus automatically and never overlap the parent menu. # Available: Fvwm, Mwm, Win. MenuStyle "*" Mwm @@ -143,6 +141,24 @@ DefaultFont m4_MONOFONT MenuStyle * Font m4_MONOFONT +Style * DecorateTransient + +Style * TitleFormat %n «%c:%r» + +DestroyDecor MyDecor +AddToDecor MyDecor ++ TitleStyle LeftJustified Height 16 ++ ButtonStyle 1 ActiveUp Vector 4 30x30@3 60x60@3 60x30@4 30x60@3 -- Flat ++ ButtonStyle 1 ActiveDown Vector 4 30x30@1 60x60@1 60x30@4 30x60@1 -- Flat ++ ButtonStyle 1 Inactive Vector 4 30x30@3 60x60@3 60x30@4 30x60@3 -- Flat ++ ButtonStyle 3 ActiveUp Vector 5 30x60@3 60x60@3 60x50@3 30x50@3 30x60@3 -- Flat ++ ButtonStyle 3 ActiveDown Vector 5 30x60@1 60x60@1 60x50@1 30x50@1 30x60@1 -- Flat ++ ButtonStyle 3 Inactive Vector 5 30x60@3 60x60@3 60x50@3 30x50@3 30x60@3 -- Flat ++ ButtonStyle 5 ActiveUp Vector 7 30x30@3 30x60@3 60x60@3 60x30@3 30x30@3 30x35@3 60x35@3 -- Flat ++ ButtonStyle 5 ActiveDown Vector 7 30x30@1 30x60@1 60x60@1 60x30@1 30x30@1 30x35@1 60x35@1 -- Flat ++ ButtonStyle 5 Inactive Vector 7 30x30@3 30x60@3 60x60@3 60x30@3 30x30@3 30x35@3 60x35@3 -- Flat +Style "*" UseDecor MyDecor + ################################################################ # Windows moving and resizing behaviour. @@ -183,27 +199,6 @@ MiniIcon app/mc-16x16.xpm ################################################################ -# Window Decor. - -DestroyDecor MyDecor -AddToDecor MyDecor -+ TitleStyle LeftJustified Height 16 -+ ButtonStyle 1 ActiveUp Vector 4 30x30@3 60x60@3 60x30@4 30x60@3 -- Flat -+ ButtonStyle 1 ActiveDown Vector 4 30x30@1 60x60@1 60x30@4 30x60@1 -- Flat -+ ButtonStyle 1 Inactive Vector 4 30x30@3 60x60@3 60x30@4 30x60@3 -- Flat -+ ButtonStyle 3 ActiveUp Vector 5 30x60@3 60x60@3 60x50@3 30x50@3 30x60@3 -- Flat -+ ButtonStyle 3 ActiveDown Vector 5 30x60@1 60x60@1 60x50@1 30x50@1 30x60@1 -- Flat -+ ButtonStyle 3 Inactive Vector 5 30x60@3 60x60@3 60x50@3 30x50@3 30x60@3 -- Flat -+ ButtonStyle 5 ActiveUp Vector 7 30x30@3 30x60@3 60x60@3 60x30@3 30x30@3 30x35@3 60x35@3 -- Flat -+ ButtonStyle 5 ActiveDown Vector 7 30x30@1 30x60@1 60x60@1 60x30@1 30x30@1 30x35@1 60x35@1 -- Flat -+ ButtonStyle 5 Inactive Vector 7 30x30@3 30x60@3 60x60@3 60x30@3 30x30@3 30x35@3 60x35@3 -- Flat -Style "*" UseDecor MyDecor - -Style * TitleFormat %n «%c:%r» - -Style * DecorateTransient - -################################################################ # Virtual Desktops. DesktopSize 3x3 @@ -525,7 +520,7 @@ *FvwmPager: WindowColors m4_PagerInactiveRGB m4_PagerInactiveRGB m4_PagerActiveRGB m4_PagerActiveRGB *FvwmPager: Font "xft:Sans:Bold:pixelsize=12:minspace=True:antialias=True" *FvwmPager: Balloons All -*FvwmPager: BalloonFont "-Misc-Fixed-Medium-R-Normal-*-13-*-*-*-*-*-ISO10646-1" +*FvwmPager: BalloonFont m4_MONOFONT *FvwmPager: MiniIcons *FvwmPager: UseSkipList *FvwmPager: LabelsAbove