add param to ini winsys routines

Provide a mechanism for cleanly moving between tentative window system
selections during startup.  Now, before a second (or later) system is selected,
the first will be notified that it is losing control.  See window.doc.
This commit is contained in:
keni
2012-01-10 01:39:31 +00:00
parent e442242417
commit c119e8c3d9
11 changed files with 47 additions and 17 deletions

View File

@@ -2058,8 +2058,11 @@ nh_XtPopdown(w)
}
void
win_X11_init()
win_X11_init(dir)
int dir;
{
if(dir != WININIT) return;
#ifdef OPENWINBUG
/* With the OpenWindows 3.0 libraries and the SunOS 4.1.2 ld, these
* two routines will not be found when linking. An apparently correct

View File

@@ -3074,8 +3074,10 @@ tty_nh_poskey(x, y, mod)
}
void
win_tty_init()
win_tty_init(dir)
int dir;
{
if(dir != WININIT) return;
# if defined(WIN32CON)
nttty_open();
# endif