Quoth Carlos R. Mafra,
This patch introduces the "tiled maximization" feature, a.k.a. Maximus.
If this is the feature borrowed from Compiz - and if it matters - I
believe the original name was Maximumize. Maximus is a daemon (mainly
for netbooks) which ensures that all windows are always maximised.
In any case it compiles and appears to work, though I'm not sure
what SHOULD happen when the window to be maximu(miz|s)ed overlaps another.
By pressing the keyboard shortcut associated with Maximus, the focused
window will be maximized to the greatest area satisfying the constraint
of not overlapping existing windows.
Talking of keyboard shortcuts, I noticed that the code to allow
setting the MaximusKey shortcut is missing from git next. It was in
your original post to this mailing list but I didn't see it in
KeyboardShortcuts.c on the next branch.
diff --git a/WPrefs.app/KeyboardShortcuts.c b/WPrefs.app/KeyboardShortcuts.c
index 919d73b..6cc6f9e 100644
--- a/WPrefs.app/KeyboardShortcuts.c
+++ b/WPrefs.app/KeyboardShortcuts.c
@@ -74,6 +74,7 @@ static char *keyOptions[] = {
"HMaximizeKey",
"LHMaximizeKey",
"RHMaximizeKey",
+ "MaximusKey",
"RaiseKey",
"LowerKey",
"RaiseLowerKey",
@@ -477,6 +478,7 @@ static void createPanel(Panel * p)
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, _("Maximus: Tiled maximization "));
WMAddListItem(panel->actLs, _("Raise active window"));
WMAddListItem(panel->actLs, _("Lower active window"));
WMAddListItem(panel->actLs, _("Raise/Lower window under mouse
pointer"));
--
To unsubscribe, send mail to [email protected].