[BACK]Return to server-client.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / tmux

Diff for /src/usr.bin/tmux/server-client.c between version 1.189 and 1.190

version 1.189, 2016/10/09 16:24:34 version 1.190, 2016/10/10 21:29:23
Line 32 
Line 32 
   
 #include "tmux.h"  #include "tmux.h"
   
 void            server_client_free(int, short, void *);  static void     server_client_free(int, short, void *);
 void            server_client_check_focus(struct window_pane *);  static void     server_client_check_focus(struct window_pane *);
 void            server_client_check_resize(struct window_pane *);  static void     server_client_check_resize(struct window_pane *);
 key_code        server_client_check_mouse(struct client *);  static key_code server_client_check_mouse(struct client *);
 void            server_client_repeat_timer(int, short, void *);  static void     server_client_repeat_timer(int, short, void *);
 void            server_client_check_exit(struct client *);  static void     server_client_check_exit(struct client *);
 void            server_client_check_redraw(struct client *);  static void     server_client_check_redraw(struct client *);
 void            server_client_set_title(struct client *);  static void     server_client_set_title(struct client *);
 void            server_client_reset_state(struct client *);  static void     server_client_reset_state(struct client *);
 int             server_client_assume_paste(struct session *);  static int      server_client_assume_paste(struct session *);
   
 void            server_client_dispatch(struct imsg *, void *);  static void     server_client_dispatch(struct imsg *, void *);
 void            server_client_dispatch_command(struct client *, struct imsg *);  static void     server_client_dispatch_command(struct client *, struct imsg *);
 void            server_client_dispatch_identify(struct client *, struct imsg *);  static void     server_client_dispatch_identify(struct client *, struct imsg *);
 void            server_client_dispatch_shell(struct client *);  static void     server_client_dispatch_shell(struct client *);
   
 /* Check if this client is inside this server. */  /* Check if this client is inside this server. */
 int  int
Line 264 
Line 264 
 }  }
   
 /* Free dead client. */  /* Free dead client. */
 void  static void
 server_client_free(__unused int fd, __unused short events, void *arg)  server_client_free(__unused int fd, __unused short events, void *arg)
 {  {
         struct client   *c = arg;          struct client   *c = arg;
Line 289 
Line 289 
 }  }
   
 /* Check for mouse keys. */  /* Check for mouse keys. */
 key_code  static key_code
 server_client_check_mouse(struct client *c)  server_client_check_mouse(struct client *c)
 {  {
         struct session                          *s = c->session;          struct session                          *s = c->session;
Line 555 
Line 555 
 }  }
   
 /* Is this fast enough to probably be a paste? */  /* Is this fast enough to probably be a paste? */
 int  static int
 server_client_assume_paste(struct session *s)  server_client_assume_paste(struct session *s)
 {  {
         struct timeval  tv;          struct timeval  tv;
Line 787 
Line 787 
 }  }
   
 /* Check if pane should be resized. */  /* Check if pane should be resized. */
 void  static void
 server_client_check_resize(struct window_pane *wp)  server_client_check_resize(struct window_pane *wp)
 {  {
         struct timeval   tv = { .tv_usec = 250000 };          struct timeval   tv = { .tv_usec = 250000 };
Line 817 
Line 817 
 }  }
   
 /* Check whether pane should be focused. */  /* Check whether pane should be focused. */
 void  static void
 server_client_check_focus(struct window_pane *wp)  server_client_check_focus(struct window_pane *wp)
 {  {
         struct client   *c;          struct client   *c;
Line 878 
Line 878 
  * tty_region/tty_reset/tty_update_mode already take care of not resetting   * tty_region/tty_reset/tty_update_mode already take care of not resetting
  * things that are already in their default state.   * things that are already in their default state.
  */   */
 void  static void
 server_client_reset_state(struct client *c)  server_client_reset_state(struct client *c)
 {  {
         struct window           *w = c->session->curw->window;          struct window           *w = c->session->curw->window;
Line 914 
Line 914 
 }  }
   
 /* Repeat time callback. */  /* Repeat time callback. */
 void  static void
 server_client_repeat_timer(__unused int fd, __unused short events, void *data)  server_client_repeat_timer(__unused int fd, __unused short events, void *data)
 {  {
         struct client   *c = data;          struct client   *c = data;
Line 927 
Line 927 
 }  }
   
 /* Check if client should be exited. */  /* Check if client should be exited. */
 void  static void
 server_client_check_exit(struct client *c)  server_client_check_exit(struct client *c)
 {  {
         if (!(c->flags & CLIENT_EXIT))          if (!(c->flags & CLIENT_EXIT))
Line 945 
Line 945 
 }  }
   
 /* Check for client redraws. */  /* Check for client redraws. */
 void  static void
 server_client_check_redraw(struct client *c)  server_client_check_redraw(struct client *c)
 {  {
         struct session          *s = c->session;          struct session          *s = c->session;
Line 1001 
Line 1001 
 }  }
   
 /* Set client title. */  /* Set client title. */
 void  static void
 server_client_set_title(struct client *c)  server_client_set_title(struct client *c)
 {  {
         struct session          *s = c->session;          struct session          *s = c->session;
Line 1026 
Line 1026 
 }  }
   
 /* Dispatch message from client. */  /* Dispatch message from client. */
 void  static void
 server_client_dispatch(struct imsg *imsg, void *arg)  server_client_dispatch(struct imsg *imsg, void *arg)
 {  {
         struct client           *c = arg;          struct client           *c = arg;
Line 1130 
Line 1130 
 }  }
   
 /* Handle command message. */  /* Handle command message. */
 void  static void
 server_client_dispatch_command(struct client *c, struct imsg *imsg)  server_client_dispatch_command(struct client *c, struct imsg *imsg)
 {  {
         struct msg_command_data   data;          struct msg_command_data   data;
Line 1183 
Line 1183 
 }  }
   
 /* Handle identify message. */  /* Handle identify message. */
 void  static void
 server_client_dispatch_identify(struct client *c, struct imsg *imsg)  server_client_dispatch_identify(struct client *c, struct imsg *imsg)
 {  {
         const char      *data, *home;          const char      *data, *home;
Line 1291 
Line 1291 
 }  }
   
 /* Handle shell message. */  /* Handle shell message. */
 void  static void
 server_client_dispatch_shell(struct client *c)  server_client_dispatch_shell(struct client *c)
 {  {
         const char      *shell;          const char      *shell;

Legend:
Removed from v.1.189  
changed lines
  Added in v.1.190