From 5f13bb0c3ade513ec3f88af8b6c0f575fa00cc4b Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Thu, 30 Jul 2009 16:32:12 +0000 Subject: There aren't many client message types or code to handle them so get rid of the lookup table and use a switch, merge the tiny handler functions into it, and move the whole lot to client.c. Also change client_msg_dispatch to consume as many messages as possible and move the call to it to the right place so it checks for signals afterwards. Prompted by suggestions from eric@. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index b565c44b..ccd472cf 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ PROG= tmux SRCS= attributes.c buffer-poll.c buffer.c cfg.c client-fn.c \ - client-msg.c client.c clock.c cmd-attach-session.c cmd-bind-key.c \ + client.c clock.c cmd-attach-session.c cmd-bind-key.c \ cmd-break-pane.c cmd-choose-session.c cmd-choose-window.c \ cmd-clear-history.c cmd-clock-mode.c cmd-command-prompt.c \ cmd-confirm-before.c cmd-copy-buffer.c cmd-copy-mode.c \ -- cgit