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,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);
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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) {
|
||||||
|
|
||||||
|
|||||||
@@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user