view src/=x11term.h @ 27634:6c9ee29e8955

* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM, around image definitions and prototypes. (gamma_correct) [WINDOWSNT]: New prototype. * w32term.c (x_make_frame_visible): Replace call to input_poll_signal with poll_for_input. * window.c [WINDOWSNT]: Include w32term.h. * xdisp.c [WINDOWSNT]: Include w32term.h. * makefile.nt: Add dependencies on w32gui.h. (OBJ1): Include atimer.obj. ($(BLD)\atimer.obj): New dependency rule. * w32.c (sigmask): New function (does nothing). (sigunblock): Ditto. * frame.c [WINDOWSNT]: Include w32term.h. * w32gui.h (struct W32FontStruct): Add ascent and descent slots. * lread.c (syms_of_lread): Fix literal newlines. * emacs.c (USAGE): Split into USAGE1 and USAGE2, to work-around the string constant limit (2048 bytes) in MSVC. (main): Ditto.
author Andrew Innes <andrewi@gnu.org>
date Sun, 06 Feb 2000 23:37:51 +0000
parents ce011f7cd03f
children
line wrap: on
line source

#include <X11/Xlib.h>
#include <X11/Xatom.h>
#include <X11/keysym.h>
#include <X11/cursorfont.h>
#include <X11/Xutil.h>
#include <X11/X10.h>

#define XMOUSEBUFSIZE 64

#ifndef sigmask
#define sigmask(no) (1L << ((no) - 1))
#endif

#define BLOCK_INPUT_DECLARE() int BLOCK_INPUT_mask
#ifdef SIGIO
#define BLOCK_INPUT() EMACS_SIGBLOCKX (SIGIO, BLOCK_INPUT_mask)
#define UNBLOCK_INPUT() \
  do { int _dummy; EMACS_SIGSETMASK (BLOCK_INPUT_mask, _dummy); } while (0)
#else /* not SIGIO */
#define BLOCK_INPUT()
#define UNBLOCK_INPUT()
#endif /* SIGIO */

#define CLASS  "Emacs"	/* class id for GNU Emacs, used in .Xdefaults, etc. */