1
0
mirror of https://github.com/gryf/wmaker.git synced 2026-02-12 03:35:52 +01:00

Left Half / Right Half Maximize

This adds Left Half / Right Half Maximize capability to WindowMaker.
It allows you to maximize a window to only the left or right half
of your screen.

It is useful on widescreen displays where one might to bring up
two different windows side-by-side.
This commit is contained in:
Johann Haarhoff
2009-08-28 21:31:26 +02:00
committed by Carlos R. Mafra
parent 328251c68a
commit 6924454836
7 changed files with 94 additions and 46 deletions

View File

@@ -72,6 +72,8 @@ static char *keyOptions[] = {
"MaximizeKey",
"VMaximizeKey",
"HMaximizeKey",
"LHMaximizeKey",
"RHMaximizeKey",
"RaiseKey",
"LowerKey",
"RaiseLowerKey",
@@ -473,6 +475,8 @@ static void createPanel(Panel * p)
WMAddListItem(panel->actLs, _("Maximize active window"));
WMAddListItem(panel->actLs, _("Maximize active window vertically"));
WMAddListItem(panel->actLs, _("Maximize active window horizontally"));
WMAddListItem(panel->actLs, _("Maximize active window left half"));
WMAddListItem(panel->actLs, _("Maximize active window right half"));
WMAddListItem(panel->actLs, _("Raise active window"));
WMAddListItem(panel->actLs, _("Lower active window"));
WMAddListItem(panel->actLs, _("Raise/Lower window under mouse pointer"));