/[emacs]/emacs/src/xterm.h
ViewVC logotype

Diff of /emacs/src/xterm.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.131 by pj, Thu Jun 13 14:51:36 2002 UTC revision 1.132 by jhd, Fri Jun 28 19:41:21 2002 UTC
# Line 618  struct x_output Line 618  struct x_output
618       these may differ because this does not take into account possible       these may differ because this does not take into account possible
619       menubar.  y_pixels_diff is with menubar height included */       menubar.  y_pixels_diff is with menubar height included */
620    int y_pixels_outer_diff;    int y_pixels_outer_diff;
621    
622      /* Keep track of focus.  May be EXPLICIT if we received a FocusIn for this
623         frame, or IMPLICIT if we received an EnterNotify.
624         FocusOut and LeaveNotify clears EXPLICIT/IMPLICIT. */
625      int focus_state;
626  };  };
627    
628  enum  enum
# Line 631  enum Line 636  enum
636    FULLSCREEN_MOVE_WAIT  = 8,    FULLSCREEN_MOVE_WAIT  = 8,
637  };  };
638    
639    enum
640    {
641      /* Values for focus_state, used as bit mask.
642         EXPLICIT means if we received a FocusIn for the frame and know it has
643         the focus.  IMPLICIT means we recevied an EnterNotify and the frame
644         may have the focus if no window manager is running.
645         FocusOut and LeaveNotify clears EXPLICIT/IMPLICIT. */
646      FOCUS_NONE     = 0,
647      FOCUS_IMPLICIT = 1,
648      FOCUS_EXPLICIT = 2
649    };
650    
651    
652  /* Return the X window used for displaying data in frame F.  */  /* Return the X window used for displaying data in frame F.  */
653  #define FRAME_X_WINDOW(f) ((f)->output_data.x->window_desc)  #define FRAME_X_WINDOW(f) ((f)->output_data.x->window_desc)
654    

Legend:
Removed from v.1.131  
changed lines
  Added in v.1.132

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26