aboutsummaryrefslogtreecommitdiffstats
path: root/src/xterm.h
diff options
context:
space:
mode:
authorJim Blandy1992-08-19 03:54:51 +0000
committerJim Blandy1992-08-19 03:54:51 +0000
commitef15f270dbada67b43f58cc26056fb7efe083ceb (patch)
tree31a6893cbd6f878b0d86abcb6c34efa536a5bdda /src/xterm.h
parentfbfed6f05fdf5bf363ca5691aefde4d573ce8203 (diff)
downloademacs-ef15f270dbada67b43f58cc26056fb7efe083ceb.tar.gz
emacs-ef15f270dbada67b43f58cc26056fb7efe083ceb.zip
*** empty log message ***
Diffstat (limited to 'src/xterm.h')
-rw-r--r--src/xterm.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/xterm.h b/src/xterm.h
index bdce1c5aeb2..3adc4dc3572 100644
--- a/src/xterm.h
+++ b/src/xterm.h
@@ -40,6 +40,14 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
40#define MAXHEIGHT 80 40#define MAXHEIGHT 80
41 41
42#ifdef HAVE_X11 42#ifdef HAVE_X11
43
44/* It turns out that we can auto-detect whether we're being compiled
45 with X11R3 or X11R4 by looking for the flag macros for R4 structure
46 members that R3 doesn't have. */
47#ifdef PBaseSize
48#define HAVE_X11R4
49#endif
50
43#define PIX_TYPE unsigned long 51#define PIX_TYPE unsigned long
44#define XDISPLAY x_current_display, 52#define XDISPLAY x_current_display,
45#define XFlushQueue() XFlush(x_current_display) 53#define XFlushQueue() XFlush(x_current_display)
@@ -311,6 +319,19 @@ struct x_display
311 /* What kind of text cursor is drawn in this window right now? (If 319 /* What kind of text cursor is drawn in this window right now? (If
312 there is no cursor (phys_cursor_x < 0), then this means nothing. */ 320 there is no cursor (phys_cursor_x < 0), then this means nothing. */
313 enum text_cursor_kinds text_cursor_kind; 321 enum text_cursor_kinds text_cursor_kind;
322
323 /* These are the current window manager hints. It seems that
324 XSetWMHints, when presented with an unset bit in the `flags'
325 member of the hints structure, does not leave the corresponding
326 attribute unchanged; rather, it resets that attribute to its
327 default value. For example, unless you set the `icon_pixmap'
328 field and the `IconPixmapHint' bit, XSetWMHints will forget what
329 your icon pixmap was. This is rather troublesome, since some of
330 the members (for example, `input' and `icon_pixmap') want to stay
331 the same throughout the execution of Emacs. So, we keep this
332 structure around, just leaving values in it and adding new bits
333 to the mask as we go. */
334 XWMHints wm_hints;
314}; 335};
315 336
316/* When X windows are used, a glyf may be a 16 bit unsigned datum. 337/* When X windows are used, a glyf may be a 16 bit unsigned datum.