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

*** empty log message ***

This commit is contained in:
kojima
1999-04-17 19:44:58 +00:00
parent b147e8f85c
commit afcbe06363
4 changed files with 8 additions and 5 deletions

View File

@@ -1779,7 +1779,8 @@ wSelectWindow(WWindow *wwin, Bool flag)
void void
wMakeWindowVisible(WWindow *wwin) wMakeWindowVisible(WWindow *wwin)
{ {
wWorkspaceChange(wwin->screen_ptr, wwin->frame->workspace); if (wwin->frame->workspace != wwin->screen_ptr->current_workspace)
wWorkspaceChange(wwin->screen_ptr, wwin->frame->workspace);
if (wwin->flags.shaded) { if (wwin->flags.shaded) {
wUnshadeWindow(wwin); wUnshadeWindow(wwin);

View File

@@ -220,7 +220,7 @@ DispatchEvent(XEvent *event)
Shutdown(WSRestartPreparationMode); Shutdown(WSRestartPreparationMode);
/* received SIGHUP */ /* received SIGHUP */
Restart(NULL); Restart(NULL, True);
} }
/* for the case that all that is wanted to be dispatched is /* for the case that all that is wanted to be dispatched is

View File

@@ -1068,7 +1068,8 @@ performCommand(WScreen *scr, char *command, XClientMessageEvent *event)
} else if (strncmp(command, "go:", 3)==0) { } else if (strncmp(command, "go:", 3)==0) {
Shutdown(WSRestartPreparationMode); Shutdown(WSRestartPreparationMode);
Restart(&command[3]); Restart(&command[3], False);
Restart(NULL, True);
} else if (strcmp(command, "desktop+1")==0) { } else if (strcmp(command, "desktop+1")==0) {
@@ -1122,7 +1123,7 @@ performCommand(WScreen *scr, char *command, XClientMessageEvent *event)
} else if (strcmp(command, "wmaker:restart")==0) { } else if (strcmp(command, "wmaker:restart")==0) {
Shutdown(WSRestartPreparationMode); Shutdown(WSRestartPreparationMode);
Restart(NULL); Restart(NULL, True);
} else if (strcmp(command, "wmaker:exit")==0) { } else if (strcmp(command, "wmaker:exit")==0) {

View File

@@ -265,7 +265,8 @@ static void
restartCommand(WMenu *menu, WMenuEntry *entry) restartCommand(WMenu *menu, WMenuEntry *entry)
{ {
Shutdown(WSRestartPreparationMode); Shutdown(WSRestartPreparationMode);
Restart((char*)entry->clientdata); Restart((char*)entry->clientdata, False);
Restart(NULL, True);
} }