~profzoom/wmaker/master

Viewing all changes in revision 3936.

  • Committer: Carlos R. Mafra
  • Author(s): David Maciejak
  • Date: 2023-03-31 08:11:38 UTC
  • Revision ID: git-v1:ab45c6c6c2c624f0488d566c9108326ecf8d2843
Add central position feature for active window

This patch adds a new Central feature under the window menu
"Other maximization" entry.
Shortcut can be configured via WPrefs "Center active window" action.
When called the active window is centered on the screen head.
If the window height or width are bigger than the head size,
the window is resized to fit.
There are some transitions defined as below:
*from fullscreen to center
*from any corner to center
*from top half to center top half
*from bottom half to center bottom half
*from left half to center left half
*from right half to center right half

Undoing the action is done via the window menu "Unmaximize" entry
or the shortcut.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: