]> git.eshelyaron.com Git - emacs.git/commit
Fix for bug#5512, don't rely on SIGIO alone.
authorJan Djärv <jan.h.d@swipnet.se>
Wed, 10 Feb 2010 09:29:28 +0000 (10:29 +0100)
committerJan Djärv <jan.h.d@swipnet.se>
Wed, 10 Feb 2010 09:29:28 +0000 (10:29 +0100)
commit182659ae3cf6d4c2633f3f3dbac8fd3bc5b3f627
treefc1f4fd2318f356ff0b6621bd910596ecb4d09b3
parentc59d6fadf77535f3ecb36fec13271ee0a97a65b3
Fix for bug#5512, don't rely on SIGIO alone.

(x_session_initialize): Move initialization of ice_fd and
doing_interact here.
(ice_connection_closed): New function.
(x_session_check_input, smc_die_CB, ice_io_error_handler)
(ice_conn_watch_CB, x_session_close): Call ice_connection_closed.
(x_session_check_input): Call IceCloseConnection if IceProcessMessages
returns I/O error.
(ice_conn_watch_CB): Call add_keyboard_wait_descriptor on ice_fd,
bug #5512.
src/ChangeLog
src/xsmfns.c