1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-04-27 08:43:40 -07:00

Remove definition of XColor.

This commit is contained in:
Juanma Barranquero 2002-10-25 06:50:01 +00:00
parent 94e3260784
commit 68c7e82a0e
3 changed files with 8 additions and 21 deletions

View file

@ -1,10 +1,17 @@
2002-10-25 Juanma Barranquero <lektu@terra.es>
* macgui.h:
* w32gui.h: Remove definition of XColor.
* dispextern.h [!HAVE_X_WINDOWS]: Define XColor.
2002-10-24 Kim F. Storm <storm@cua.dk>
* xdisp.c (get_window_cursor_type): New arg ACTIVE_CURSOR.
Callers changed (supply dummy arg).
* lisp.h (get_window_cursor_type): Update prototype.
* w32term.c (x_display_and_set_cursor): Get active_cursor from
get_window_cursor_type to track system caret.

View file

@ -37,16 +37,6 @@ typedef struct OpaqueWindowPtr* Window;
typedef WindowPtr Window;
#endif
/* A definition of XColor for non-X frames. */
#ifndef HAVE_X_WINDOWS
typedef struct {
unsigned long pixel;
unsigned short red, green, blue;
char flags;
char pad;
} XColor;
#endif
#define FACE_DEFAULT (~0)

View file

@ -86,16 +86,6 @@ typedef struct _XImage
/* Optional RGBQUAD array for palette follows (see BITMAPINFO docs). */
} XImage;
/* A definition of XColor for non-X frames. */
#ifndef HAVE_X_WINDOWS
typedef struct {
unsigned long pixel;
unsigned short red, green, blue;
char flags;
char pad;
} XColor;
#endif
#define FACE_DEFAULT (~0)
extern HINSTANCE hinst;