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:
@@ -1779,6 +1779,7 @@ wSelectWindow(WWindow *wwin, Bool flag)
|
||||
void
|
||||
wMakeWindowVisible(WWindow *wwin)
|
||||
{
|
||||
if (wwin->frame->workspace != wwin->screen_ptr->current_workspace)
|
||||
wWorkspaceChange(wwin->screen_ptr, wwin->frame->workspace);
|
||||
|
||||
if (wwin->flags.shaded) {
|
||||
|
||||
@@ -220,7 +220,7 @@ DispatchEvent(XEvent *event)
|
||||
|
||||
Shutdown(WSRestartPreparationMode);
|
||||
/* received SIGHUP */
|
||||
Restart(NULL);
|
||||
Restart(NULL, True);
|
||||
}
|
||||
|
||||
/* for the case that all that is wanted to be dispatched is
|
||||
|
||||
@@ -1068,7 +1068,8 @@ performCommand(WScreen *scr, char *command, XClientMessageEvent *event)
|
||||
} else if (strncmp(command, "go:", 3)==0) {
|
||||
|
||||
Shutdown(WSRestartPreparationMode);
|
||||
Restart(&command[3]);
|
||||
Restart(&command[3], False);
|
||||
Restart(NULL, True);
|
||||
|
||||
} 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) {
|
||||
|
||||
Shutdown(WSRestartPreparationMode);
|
||||
Restart(NULL);
|
||||
Restart(NULL, True);
|
||||
|
||||
} else if (strcmp(command, "wmaker:exit")==0) {
|
||||
|
||||
|
||||
@@ -265,7 +265,8 @@ static void
|
||||
restartCommand(WMenu *menu, WMenuEntry *entry)
|
||||
{
|
||||
Shutdown(WSRestartPreparationMode);
|
||||
Restart((char*)entry->clientdata);
|
||||
Restart((char*)entry->clientdata, False);
|
||||
Restart(NULL, True);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user