diff options
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 |