diff options
| author | Richard M. Stallman | 1995-07-07 13:35:48 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1995-07-07 13:35:48 +0000 |
| commit | 665881adf7cc88c782b5acdd03db3e83a53a9dc0 (patch) | |
| tree | aa8dfd85df133a4114db1b5b2e5253f542f8fd01 /src | |
| parent | 86bee31c83f65d882fccc01e69c6dbbffc886307 (diff) | |
| download | emacs-665881adf7cc88c782b5acdd03db3e83a53a9dc0.tar.gz emacs-665881adf7cc88c782b5acdd03db3e83a53a9dc0.zip | |
(x_initialize) [USE_X_TOOLKIT]: Set fallback resources.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xterm.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/xterm.c b/src/xterm.c index 534a27b7237..d78bdd50071 100644 --- a/src/xterm.c +++ b/src/xterm.c | |||
| @@ -125,6 +125,11 @@ struct frame *pending_autoraise_frame; | |||
| 125 | #ifdef USE_X_TOOLKIT | 125 | #ifdef USE_X_TOOLKIT |
| 126 | /* The application context for Xt use. */ | 126 | /* The application context for Xt use. */ |
| 127 | XtAppContext Xt_app_con; | 127 | XtAppContext Xt_app_con; |
| 128 | |||
| 129 | static String Xt_default_resources[] = | ||
| 130 | { | ||
| 131 | 0 | ||
| 132 | }; | ||
| 128 | #endif | 133 | #endif |
| 129 | 134 | ||
| 130 | /* During an update, maximum vpos for ins/del line operations to affect. */ | 135 | /* During an update, maximum vpos for ins/del line operations to affect. */ |
| @@ -6038,6 +6043,7 @@ x_initialize () | |||
| 6038 | #ifdef USE_X_TOOLKIT | 6043 | #ifdef USE_X_TOOLKIT |
| 6039 | XtToolkitInitialize (); | 6044 | XtToolkitInitialize (); |
| 6040 | Xt_app_con = XtCreateApplicationContext (); | 6045 | Xt_app_con = XtCreateApplicationContext (); |
| 6046 | XtAppSetFallbackResources (Xt_app_con, Xt_default_resources); | ||
| 6041 | #endif | 6047 | #endif |
| 6042 | 6048 | ||
| 6043 | /* Note that there is no real way portable across R3/R4 to get the | 6049 | /* Note that there is no real way portable across R3/R4 to get the |