emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/src/xterm.h


From: Kenichi Handa
Subject: [Emacs-diffs] Changes to emacs/src/xterm.h
Date: Fri, 10 Jan 2003 02:22:39 -0500

Index: emacs/src/xterm.h
diff -c emacs/src/xterm.h:1.136 emacs/src/xterm.h:1.137
*** emacs/src/xterm.h:1.136     Fri Aug 30 08:05:31 2002
--- emacs/src/xterm.h   Wed Jan  8 15:06:05 2003
***************
*** 619,625 ****
  enum
  {
    /* Values for focus_state, used as bit mask.
!      EXPLICIT means if we received a FocusIn for the frame and know it has
       the focus.  IMPLICIT means we recevied an EnterNotify and the frame
       may have the focus if no window manager is running.
       FocusOut and LeaveNotify clears EXPLICIT/IMPLICIT. */
--- 619,625 ----
  enum
  {
    /* Values for focus_state, used as bit mask.
!      EXPLICIT means we received a FocusIn for the frame and know it has
       the focus.  IMPLICIT means we recevied an EnterNotify and the frame
       may have the focus if no window manager is running.
       FocusOut and LeaveNotify clears EXPLICIT/IMPLICIT. */
***************
*** 674,679 ****
--- 674,689 ----
  #define PIXEL_WIDTH(f) ((f)->output_data.x->pixel_width)
  #define PIXEL_HEIGHT(f) ((f)->output_data.x->pixel_height)
  
+ /* The difference in pixels between the top left corner of the
+    Emacs window (including possible window manager decorations)
+    and FRAME_X_WINDOW (f).  */
+ #define FRAME_OUTER_TO_INNER_DIFF_X(f) \
+      ((f)->output_data.x->x_pixels_outer_diff)
+ #define FRAME_OUTER_TO_INNER_DIFF_Y(f)          \
+      ((f)->output_data.x->y_pixels_outer_diff   \
+       + (f)->output_data.x->menubar_height)
+ 
+ 
  #define FRAME_XIC(f) ((f)->output_data.x->xic)
  #define FRAME_X_XIM(f) (FRAME_X_DISPLAY_INFO (f)->xim)
  #define FRAME_X_XIM_STYLES(f) (FRAME_X_DISPLAY_INFO (f)->xim_styles)
***************
*** 1029,1034 ****
--- 1039,1045 ----
  extern void x_fullscreen_adjust P_ ((struct frame *f, int *, int *,
                                       int *, int *));
  
+ extern void x_dispatch_event P_ ((XEvent *, Display *));
  
  /* Defined in xselect.c */
  




reply via email to

[Prev in Thread] Current Thread [Next in Thread]