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:
@@ -97,7 +97,7 @@ extern int NDECL(kbhit);
|
||||
extern int NDECL(WindowGetchar);
|
||||
extern void FDECL(ami_argset, (int *, char *[]));
|
||||
extern void FDECL(ami_mkargline, (int *, char **[]));
|
||||
extern void ami_wininit_data(void);
|
||||
extern void FDECL(ami_wininit_data, (int));
|
||||
|
||||
#define FromWBench 0 /* A hint for compiler ... */
|
||||
/* extern boolean FromWBench; /* how were we run? */
|
||||
|
||||
@@ -290,7 +290,7 @@ E char FDECL(key_event_to_char,(XKeyEvent*));
|
||||
E void FDECL(msgkey, (Widget, XtPointer, XEvent*));
|
||||
E void FDECL(nh_XtPopup, (Widget, int, Widget));
|
||||
E void FDECL(nh_XtPopdown, (Widget));
|
||||
E void NDECL(win_X11_init);
|
||||
E void FDECL(win_X11_init, (int));
|
||||
E void FDECL(nh_keyscroll, (Widget, XEvent*, String*, Cardinal*));
|
||||
|
||||
/* ### winmesg.c ### */
|
||||
|
||||
@@ -31,7 +31,7 @@ E void NDECL(setclipped);
|
||||
E void FDECL(docorner, (int, int));
|
||||
E void NDECL(end_glyphout);
|
||||
E void FDECL(g_putch, (int));
|
||||
E void NDECL(win_Gem_init);
|
||||
E void FDECL(win_Gem_init, (int));
|
||||
E int NDECL(mar_gem_init);
|
||||
E char NDECL(mar_ask_class);
|
||||
E char * NDECL(mar_ask_name);
|
||||
|
||||
@@ -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 */
|
||||
|
||||
@@ -166,7 +166,7 @@ E void NDECL(setclipped);
|
||||
E void FDECL(docorner, (int, int));
|
||||
E void NDECL(end_glyphout);
|
||||
E void FDECL(g_putch, (int));
|
||||
E void NDECL(win_tty_init);
|
||||
E void FDECL(win_tty_init, (int));
|
||||
#ifdef UNICODE_WIDEWINPORT
|
||||
E void FDECL(u_putch, (nhwchar));
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user