DestroyFunc Func_Maximize
AddToFunc Func_Maximize
+ I ThisWindow (XTerm) Maximize
+ I ThisWindow (XTerm) Break
+ I ThisWindow (!Maximized) WindowStyle !Borders
+ I TestRc WindowStyle Borders
+ I RefreshWindow
+ I Maximize
+ I Raise
And is invoked by:
Key F A 4 Func_Maximize
Everything works as it should except for the final Raise command. The window gets maximized but is behind other windows.
How can I get the function to raise the window to the top?