1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-19 20:38:08 +01:00

Window Maker 0.20.3

This commit is contained in:
dan
1998-11-27 12:26:46 +00:00
parent 9007a6575d
commit 345d980be3
25 changed files with 889 additions and 142 deletions

View File

@@ -800,18 +800,23 @@ wManageWindow(WScreen *scr, Window window)
* or if the window wants to
* start iconic.
* If geometry was saved, restore it. */
if (win_state && win_state->state->use_geometry) {
x = win_state->state->x;
y = win_state->state->y;
} else if (wwin->transient_for==None && !scr->flags.startup &&
workspace==scr->current_workspace && !iconic &&
!(wwin->normal_hints->flags & (USPosition|PPosition))) {
PlaceWindow(wwin, &x, &y, width, height);
}
if (wwin->window_flags.dont_move_off)
wScreenBringInside(scr, &x, &y, width, height);
{
Bool dontBring = False;
if (win_state && win_state->state->use_geometry) {
x = win_state->state->x;
y = win_state->state->y;
} else if (wwin->transient_for==None && !scr->flags.startup &&
workspace==scr->current_workspace && !iconic &&
!(wwin->normal_hints->flags & (USPosition|PPosition))) {
PlaceWindow(wwin, &x, &y, width, height);
if (wPreferences.window_placement == WPM_MANUAL)
dontBring = True;
}
if (wwin->window_flags.dont_move_off && dontBring)
wScreenBringInside(scr, &x, &y, width, height);
}
/*
*--------------------------------------------------
*