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

Remove XSMP_ENABLED constructs

The code was never used and the !XSMP_ENABLED code seems to
work well enough for all these years.
This commit is contained in:
Carlos R. Mafra
2009-12-21 22:34:33 +01:00
parent 629b118767
commit 024e2f5299
7 changed files with 0 additions and 788 deletions

View File

@@ -222,21 +222,6 @@ static void shutdownCommand(WMenu * menu, WMenuEntry * entry)
if ((long)entry->clientdata == M_QUICK)
result = R_CLOSE;
else {
#ifdef XSMP_ENABLED
if (wSessionIsManaged()) {
int r;
r = wMessageDialog(menu->frame->screen_ptr,
_("Close X session"),
_("Close Window System session?\n"
"Kill might close applications with unsaved data."),
_("Close"), _("Kill"), _("Cancel"));
if (r == WAPRDefault)
result = R_CLOSE;
else if (r == WAPRAlternate)
result = R_KILL;
} else
#endif
{
int r, oldSaveSessionFlag;
@@ -257,11 +242,6 @@ static void shutdownCommand(WMenu * menu, WMenuEntry * entry)
}
if (result != R_CANCEL) {
#ifdef XSMP_ENABLED
if (result == R_CLOSE) {
Shutdown(WSLogoutMode);
} else
#endif /* XSMP_ENABLED */
{
Shutdown(WSKillMode);
}