diff options
Diffstat (limited to 'src/twm.c')
-rw-r--r-- | src/twm.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -90,7 +90,6 @@ in this Software without prior written authorization from The Open Group. static void InitVariables(void); -XtAppContext appContext; /* Xt application context */ XtSignalId si; Display *dpy = NULL; /* which display are we talking to */ @@ -219,6 +218,7 @@ main(int argc, char *argv[]) char *loc; int MultiScreen = TRUE; /* try for more than one screen? */ char *InitFile = NULL; + XtAppContext appContext; /* Xt application context */ ProgramName = argv[0]; Argc = argc; @@ -645,12 +645,12 @@ main(int argc, char *argv[]) exit(EXIT_FAILURE); } - (void) ConnectToSessionManager(client_id); + (void) ConnectToSessionManager(client_id, appContext); RestartPreviousState = False; HandlingEvents = TRUE; InitEvents(); - HandleEvents(); + HandleEvents(appContext); exit(EXIT_SUCCESS); } |