aboutsummaryrefslogtreecommitdiffstats
path: root/src/xterm.c
diff options
context:
space:
mode:
authorPaul Eggert2012-08-25 13:31:04 -0700
committerPaul Eggert2012-08-25 13:31:04 -0700
commit0f46bc7515ccc835e5752b47f8752ab7aaf7ed27 (patch)
tree9908d3cbf36442fb40595ffd0338dff74f8b9cbc /src/xterm.c
parent9aba119d72dde74a86d436f6e4f934baa37ecbe9 (diff)
downloademacs-0f46bc7515ccc835e5752b47f8752ab7aaf7ed27.tar.gz
emacs-0f46bc7515ccc835e5752b47f8752ab7aaf7ed27.zip
* xgselect.c (xg_select): Use auto storage for the GPollFD buffer
as that's faster and simpler than static storage. Don't bother with the g_main_context_query overhead if g_main_context_pending says no events are pending. (gfds, gfds_size): Remove these static vars. (xgselect_initialize): Remove; no longer needed. All uses and decls removed.
Diffstat (limited to 'src/xterm.c')
-rw-r--r--src/xterm.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/xterm.c b/src/xterm.c
index 118c8767c23..7e61cc4d8ea 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -10815,8 +10815,6 @@ x_initialize (void)
10815 XSetIOErrorHandler (x_io_error_quitter); 10815 XSetIOErrorHandler (x_io_error_quitter);
10816 10816
10817 signal (SIGPIPE, x_connection_signal); 10817 signal (SIGPIPE, x_connection_signal);
10818
10819 xgselect_initialize ();
10820} 10818}
10821 10819
10822 10820