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

Diff for /src/usr.bin/tmux/window.c between version 1.10 and 1.11

version 1.10, 2009/07/14 07:23:36 version 1.11, 2009/07/14 16:52:50
Line 580 
Line 580 
 void  void
 window_pane_key(struct window_pane *wp, struct client *c, int key)  window_pane_key(struct window_pane *wp, struct client *c, int key)
 {  {
         if (wp->fd == -1)          if (wp->fd == -1 || !window_pane_visible(wp))
                 return;                  return;
   
         if (wp->mode != NULL) {          if (wp->mode != NULL) {
Line 594 
Line 594 
 window_pane_mouse(  window_pane_mouse(
     struct window_pane *wp, struct client *c, u_char b, u_char x, u_char y)      struct window_pane *wp, struct client *c, u_char b, u_char x, u_char y)
 {  {
         if (wp->fd == -1)          if (wp->fd == -1 || !window_pane_visible(wp))
                 return;                  return;
   
         /* XXX convert from 1-based? */          /* XXX convert from 1-based? */

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.11