mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-26 08:22:37 +01:00
Added 'head' parameter to wMaximizeWindow
Additional 'head' parameter will help to select head (display) where window should be maximized.
This commit is contained in:
@@ -632,7 +632,8 @@ static void handleMapRequest(XEvent * ev)
|
||||
if (wwin) {
|
||||
wClientSetState(wwin, NormalState, None);
|
||||
if (wwin->flags.maximized) {
|
||||
wMaximizeWindow(wwin, wwin->flags.maximized);
|
||||
wMaximizeWindow(wwin, wwin->flags.maximized,
|
||||
wGetHeadForWindow(wwin));
|
||||
}
|
||||
if (wwin->flags.shaded) {
|
||||
wwin->flags.shaded = 0;
|
||||
|
||||
Reference in New Issue
Block a user