1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-22 05:48:01 +01:00

- Fixed issues with crashing dialog not working

- Keep menu and title text at 12px since there is not constrained by width
- Removed some obsoleted options from wconfig.h
- Added a lighter image for the switch panel
This commit is contained in:
dan
2004-10-25 02:23:41 +00:00
parent 12b8b8ba58
commit 0d9b73cd74
9 changed files with 70 additions and 57 deletions

View File

@@ -53,7 +53,7 @@ int showCrashDialog(int sig)
{
int crashAction;
dpy = XOpenDisplay("");
dpy = XOpenDisplay(NULL);
if (dpy) {
/* XXX TODO make sure that window states are saved and restored via netwm */
@@ -66,7 +66,7 @@ int showCrashDialog(int sig)
crashAction = WMAbort;
}
if (crashAction == WMRestart)
if (crashAction == WMStartAlternate)
{
int i;
@@ -145,8 +145,9 @@ int MonitorLoop(int argc, char **argv)
* the crash panel and ask the user what to do */
if (time(NULL) - last_start < 3)
{
if (showCrashDialog(WTERMSIG(status)) == 0)
return 1;
if (showCrashDialog(WTERMSIG(status)) == 0) {
return 1;
}
}
wwarning(_("Window Maker exited due to a crash (signal %i) and will be restarted."),
WTERMSIG(status));