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

@@ -60,29 +60,10 @@ void Shutdown(WShutdownMode mode)
switch (mode) {
case WSLogoutMode:
#ifdef XSMP_ENABLED
wSessionRequestShutdown();
break;
#else
/* fall through */
#endif
case WSKillMode:
case WSExitMode:
/* if there is no session manager, send SAVE_YOURSELF to
* the clients */
#if 0
#ifdef XSMP_ENABLED
if (!wSessionIsManaged())
#endif
for (i = 0; i < wScreenCount; i++) {
WScreen *scr;
scr = wScreenWithNumber(i);
if (scr) {
wSessionSendSaveYourself(scr);
}
}
#endif
close(inotifyFD);
for (i = 0; i < wScreenCount; i++) {
WScreen *scr;
@@ -93,9 +74,6 @@ void Shutdown(WShutdownMode mode)
kill(scr->helper_pid, SIGKILL);
/* if the session is not being managed, save restart info */
#ifdef XSMP_ENABLED
if (!wSessionIsManaged())
#endif
wSessionSaveClients(scr);
wScreenSaveState(scr);