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: Eli Zaretskii
Subject: [Emacs-diffs] Changes to emacs/src/xterm.h
Date: Sun, 13 Jan 2002 07:21:19 -0500

Index: emacs/src/xterm.h
diff -c emacs/src/xterm.h:1.124 emacs/src/xterm.h:1.125
*** emacs/src/xterm.h:1.124     Fri Nov 30 20:16:32 2001
--- emacs/src/xterm.h   Sun Jan 13 07:21:19 2002
***************
*** 594,599 ****
--- 594,630 ----
       arrive for an unknown reason and Emacs hangs in Xt.  If this is
       zero, tell Xt not to wait.  */
    int wait_for_wm;
+ 
+   /* See enum below */
+   int want_fullscreen;
+ 
+   /* This many pixels are the difference between the outer window (i.e. the
+      left of the window manager decoration) and FRAME_X_WINDOW. */
+   int x_pixels_diff;
+ 
+   /* This many pixels are the difference between the outer window (i.e. the
+      top of the window manager titlebar) and FRAME_X_WINDOW. */
+   int y_pixels_diff;
+ 
+   /* As x_pixels_diff, but to FRAME_OUTER_WINDOW.  For some reason the
+      two might differ by a pixel, depending on WM */
+   int x_pixels_outer_diff;
+   
+   /* As y_pixels_diff, but to FRAME_OUTER_WINDOW.  In the toolkit version,
+      these may differ because this does not take into account possible
+      menubar.  y_pixels_diff is with menubar height included */
+   int y_pixels_outer_diff;
+ };
+ 
+ enum
+ {
+   /* Values used as a bit mask, BOTH == WIDTH | HEIGH */
+   FULLSCREEN_NONE       = 0,
+   FULLSCREEN_WIDTH      = 1,
+   FULLSCREEN_HEIGHT     = 2,
+   FULLSCREEN_BOTH       = 3,
+   FULLSCREEN_WAIT       = 4,
+   FULLSCREEN_MOVE_WAIT  = 8,
  };
  
  /* Return the X window used for displaying data in frame F.  */
***************
*** 601,607 ****
  
  /* Return the outermost X window associated with the frame F.  */
  #ifdef USE_X_TOOLKIT
! #define FRAME_OUTER_WINDOW(f) (XtWindow ((f)->output_data.x->widget))
  #else
  #define FRAME_OUTER_WINDOW(f) (FRAME_X_WINDOW (f))
  #endif
--- 632,640 ----
  
  /* Return the outermost X window associated with the frame F.  */
  #ifdef USE_X_TOOLKIT
! #define FRAME_OUTER_WINDOW(f) ((f)->output_data.x->widget ?             \
!                                XtWindow ((f)->output_data.x->widget) :  \
!                                FRAME_X_WINDOW (f))
  #else
  #define FRAME_OUTER_WINDOW(f) (FRAME_X_WINDOW (f))
  #endif
***************
*** 992,997 ****
--- 1025,1034 ----
  extern void x_query_colors P_ ((struct frame *f, XColor *, int));
  extern void x_query_color P_ ((struct frame *f, XColor *));
  extern void x_clear_area P_ ((Display *, Window, int, int, int, int, int));
+ 
+ extern void x_fullscreen_adjust P_ ((struct frame *f, int *, int *,
+                                      int *, int *));
+ 
  
  /* Defined in xselect.c */
  



reply via email to

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