1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-25 07:32:36 +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:
2017-02-07 21:05:14 +01:00
committed by Carlos R. Mafra
parent 002d415d02
commit e2f8525728
6 changed files with 22 additions and 27 deletions

View File

@@ -2853,7 +2853,7 @@ static void titlebarDblClick(WCoreWindow *sender, void *data, XEvent *event)
int ndir = dir ^ wwin->flags.maximized;
if (ndir != 0)
wMaximizeWindow(wwin, ndir);
wMaximizeWindow(wwin, ndir, wGetHeadForWindow(wwin));
else
wUnmaximizeWindow(wwin);
}