Fix assertion on kboard->kbd_queue and other such crashes.
authorKaroly Lorentey <lorentey@elte.hu>
Sun, 11 Sep 2005 09:34:22 +0000 (09:34 +0000)
committerKaroly Lorentey <lorentey@elte.hu>
Sun, 11 Sep 2005 09:34:22 +0000 (09:34 +0000)
commit3fb8e5d73e6969a67b258a55f19cc4f4d89da639
tree3c6a9f59295c3a2c13625e71fd06f9366ebc90d5
parent26cbc0482aa9ff3ad74430e3f6a56e831a831aff
Fix assertion on kboard->kbd_queue and other such crashes.

* src/keyboard.c (pop_kboard): Set current_kboard to the kboard of the
  selected frame when the stored kboard object has been deleted before
  pop_kboard.
  (restore_kboard_configuration): Call pop_kboard only after setting up
  single_kboard mode.

git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-418
README.multi-tty
src/keyboard.c