annotate src/=x11term.h @ 976:cbdfc337ec8f
* xterm.c (x_wm_hints): New variable.
(x_wm_set_window_state, x_wm_set_icon_pixmap,
x_wm_set_icon_position): Use x_wm_hints.
(x_term_init): Set the `input' field of x_wm_hints, and its flag.
* xterm.c (x_text_icon): Call x_wm_set_icon_pixmap with a pixmap
of zero, to clear the pixmap.
(x_wm_set_icon_pixmap): Accept this protocol; if pixmap is zero,
specify no pixmap for the icon.
* xterm.c (x_set_window_size): Call check_frame_size to make sure
that the requested dimensions are within acceptable limits.
Store the new size information in the frame structure.
* xterm.c (x_wm_set_size_hint): Don't try to set the base_height
and base_width elements of size_hints if PBaseSize is not
#defined. Set the minimum frame size according to the information
returned by check_frame_size.
* xterm.c (XTread_socket, x_do_pending_expose): Call
change_frame_size with a DELAY of 1.
* xterm.c (in_display): Deleted this; it's never used in xterm.c,
and there is another variable by the same name in dispnew.c.
* xterm.c (FRAME_IS_TERMCAP, FRAME_IS_X, FRAME_HAS_MINIBUF):
Renamed these to FRAME_TERMCAP_P, FRAME_X_P, and
FRAME_HAS_MINIBUF_P, for consistency with the rest of the
frame macros.
author |
Jim Blandy <jimb@redhat.com> |
date |
Wed, 12 Aug 1992 14:40:00 +0000 |
parents |
ce011f7cd03f |
children |
|
rev |
line source |
486
|
1 #include <X11/Xlib.h>
|
|
2 #include <X11/Xatom.h>
|
|
3 #include <X11/keysym.h>
|
|
4 #include <X11/cursorfont.h>
|
|
5 #include <X11/Xutil.h>
|
|
6 #include <X11/X10.h>
|
|
7
|
|
8 #define XMOUSEBUFSIZE 64
|
|
9
|
|
10 #ifndef sigmask
|
|
11 #define sigmask(no) (1L << ((no) - 1))
|
|
12 #endif
|
|
13
|
|
14 #define BLOCK_INPUT_DECLARE() int BLOCK_INPUT_mask
|
|
15 #ifdef SIGIO
|
625
|
16 #define BLOCK_INPUT() EMACS_SIGBLOCKX (SIGIO, BLOCK_INPUT_mask)
|
|
17 #define UNBLOCK_INPUT() \
|
|
18 do { int _dummy; EMACS_SIGSETMASK (BLOCK_INPUT_mask, _dummy); } while (0)
|
486
|
19 #else /* not SIGIO */
|
|
20 #define BLOCK_INPUT()
|
|
21 #define UNBLOCK_INPUT()
|
|
22 #endif /* SIGIO */
|
|
23
|
625
|
24 #define CLASS "Emacs" /* class id for GNU Emacs, used in .Xdefaults, etc. */
|