# HG changeset patch # User Karl Heuer # Date 798762867 0 # Node ID cc965273a76928c6b24d903c735fd5c8661de979 # Parent 317e5825008bd796d2ac799c148a31d5093b6b64 (x_term_init): If the previous kboard was the dummy one, switch to the new one immediately. diff -r 317e5825008b -r cc965273a769 src/xterm.c --- a/src/xterm.c Mon Apr 24 22:13:00 1995 +0000 +++ b/src/xterm.c Mon Apr 24 22:34:27 1995 +0000 @@ -5626,6 +5626,11 @@ init_kboard (dpyinfo->kboard); dpyinfo->kboard->next_kboard = all_kboards; all_kboards = dpyinfo->kboard; + /* Don't let the initial kboard remain current longer than necessary. + That would cause problems if a file loaded on startup tries to + prompt in the minibuffer. */ + if (current_kboard == initial_kboard) + current_kboard = dpyinfo->kboard; } dpyinfo->kboard->reference_count++; }