mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-23 22:52:34 +01:00
Maximus: Tiled Maximization
This patch introduces the "tiled maximization" feature, a.k.a. Maximus. 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.
This commit is contained in:
@@ -234,7 +234,7 @@ void PlaceIcon(WScreen *scr, int *x_ret, int *y_ret, int head)
|
||||
}
|
||||
|
||||
/* Computes the intersecting length of two line sections */
|
||||
static int calcIntersectionLength(int p1, int l1, int p2, int l2)
|
||||
int calcIntersectionLength(int p1, int l1, int p2, int l2)
|
||||
{
|
||||
int isect;
|
||||
int tmp;
|
||||
|
||||
Reference in New Issue
Block a user