[Solved] Fullscreen window not to cover part of my screen

There are different versions of ‘Fullscreen’ - Window will maximize to the complete screen with or without titlebar.

Without titlebar]#-----------------------------------------------------------------------

This function maximize a window to fullscreen and back - no title, no buttons, no border

#-----------------------------------------------------------------------
DestroyFunc FuncMaximizeFullScreen
AddToFunc FuncMaximizeFullScreen

  • I ThisWindow (Maximized) WindowStyle Title, Borders
  • I TestRc (!Match) WindowStyle !Title, !Borders
  • I TestRc (!Match) Raise
  • I TestRc (!Match) UpdateStyles
  • I Maximize ewmhiwa
    [/code]
    The needed key binding]#-----------------------------------------------------------------------

Alt-F11 maximize active window to fullscreen and back

#-----------------------------------------------------------------------

Keyname Context Modifier Function

Key F11 A M Pick FuncMaximizeFullScreen
[/code]

With titlebar
You can bind a special Maximize command to a key like[code]

Keyname Context Modifier Function

Key F10 A M Pick Maximize growonlayers $[w.layer] -1 grow grow[/code]or something else :wink:

You have to define the layer for your FvwmButton like Style fvwmbuttons StaysOnBottom Btw. For ‘fvwmbuttons’ you have to use your alias defined for this FvwmButton. See your Module call in the StartFunction]

  • I Module FvwmButtons
    [/code]If you haven’t an alias use ‘FvwmButtons’ instead of ‘fvwmbuttons’.
  • Thomas -