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

@@ -264,4 +264,9 @@ struct wc_Opt {
#define RS_ALGNMNT 4
#define RS_menu_arg(x) (ROLE_RANDOM - ((x) + 1)) /* 0..4 -> -3..-7 */
/* Choose_windows() may be called multiple times; these constants tell the
* init function whether the window system is coming or going. */
#define WININIT 0
#define WININIT_UNDO 1
#endif /* WINPROCS_H */