1
0
mirror of https://github.com/gryf/wmaker.git synced 2026-02-04 23:35:58 +01:00

fixed crash bug on startup

added paste-launch on dock
This commit is contained in:
kojima
2001-09-03 22:31:30 +00:00
parent eecf75029f
commit 80fefd29e4
14 changed files with 211 additions and 93 deletions

View File

@@ -653,9 +653,7 @@ wScreenForRootWindow(Window window)
}
}
assert("bad_root_window" && 0);
return NULL;
return wScreenForWindow(window);
}
@@ -678,7 +676,7 @@ wScreenSearchForRootWindow(Window window)
}
}
return NULL;
return wScreenForWindow(window);
}
@@ -1125,7 +1123,8 @@ manageAllWindows(WScreen *scr, int crashRecovery)
wWindowMove(wwin, wwin->frame_x - border,
wwin->frame_y - border -
wwin->frame->titlebar->height);
(wwin->frame->titlebar ?
wwin->frame->titlebar->height : 0));
}
}
}