aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKim F. Storm2003-03-31 20:36:37 +0000
committerKim F. Storm2003-03-31 20:36:37 +0000
commit47103c77537aa3386a83d4dc0102b899655af3bd (patch)
tree4caf7109f4ddfacd666e6a7e115467e4c781b11a /src
parentf8240bf81d2bf545e42d8a8b89fdbe8fdbe27107 (diff)
downloademacs-47103c77537aa3386a83d4dc0102b899655af3bd.tar.gz
emacs-47103c77537aa3386a83d4dc0102b899655af3bd.zip
(EMACS_CLASS): Remove. Use generic define.
(struct w32_display_info): Fix type of xrdb member. (enum FULLSCREEN_*): Remove. Remove prototypes for generic functions (in frame.h).
Diffstat (limited to 'src')
-rw-r--r--src/xterm.h25
1 files changed, 0 insertions, 25 deletions
diff --git a/src/xterm.h b/src/xterm.h
index cac5930c1cf..f8ee3958f3f 100644
--- a/src/xterm.h
+++ b/src/xterm.h
@@ -49,8 +49,6 @@ typedef GtkWidget *xt_or_gtk_widget;
49 49
50#endif /* USE_GTK */ 50#endif /* USE_GTK */
51 51
52/* The class of this X application. */
53#define EMACS_CLASS "Emacs"
54 52
55/* Bookkeeping to distinguish X versions. */ 53/* Bookkeeping to distinguish X versions. */
56 54
@@ -648,17 +646,6 @@ struct x_output
648 646
649enum 647enum
650{ 648{
651 /* Values used as a bit mask, BOTH == WIDTH | HEIGHT. */
652 FULLSCREEN_NONE = 0,
653 FULLSCREEN_WIDTH = 1,
654 FULLSCREEN_HEIGHT = 2,
655 FULLSCREEN_BOTH = 3,
656 FULLSCREEN_WAIT = 4,
657 FULLSCREEN_MOVE_WAIT = 8,
658};
659
660enum
661{
662 /* Values for focus_state, used as bit mask. 649 /* Values for focus_state, used as bit mask.
663 EXPLICIT means we received a FocusIn for the frame and know it has 650 EXPLICIT means we received a FocusIn for the frame and know it has
664 the focus. IMPLICIT means we recevied an EnterNotify and the frame 651 the focus. IMPLICIT means we recevied an EnterNotify and the frame
@@ -1030,7 +1017,6 @@ extern void x_free_gcs P_ ((struct frame *));
1030 1017
1031/* From xrdb.c. */ 1018/* From xrdb.c. */
1032 1019
1033char *x_get_string_resource P_ ((XrmDatabase, char *, char *));
1034char *x_get_customization_string P_ ((XrmDatabase, char *, char *)); 1020char *x_get_customization_string P_ ((XrmDatabase, char *, char *));
1035XrmDatabase x_load_resources P_ ((Display *, char *, char *, char *)); 1021XrmDatabase x_load_resources P_ ((Display *, char *, char *, char *));
1036int x_get_resource P_ ((XrmDatabase, char *, char *, 1022int x_get_resource P_ ((XrmDatabase, char *, char *,
@@ -1039,8 +1025,6 @@ void x_delete_display P_ ((struct x_display_info *));
1039void x_make_frame_visible P_ ((struct frame *)); 1025void x_make_frame_visible P_ ((struct frame *));
1040void x_iconify_frame P_ ((struct frame *)); 1026void x_iconify_frame P_ ((struct frame *));
1041void x_wm_set_size_hint P_ ((struct frame *, long, int)); 1027void x_wm_set_size_hint P_ ((struct frame *, long, int));
1042void x_set_offset P_ ((struct frame *, int, int, int));
1043void x_wm_set_icon_position P_ ((struct frame *, int, int));
1044int x_catch_errors P_ ((Display *)); 1028int x_catch_errors P_ ((Display *));
1045int x_had_errors_p P_ ((Display *)); 1029int x_had_errors_p P_ ((Display *));
1046void x_uncatch_errors P_ ((Display *, int)); 1030void x_uncatch_errors P_ ((Display *, int));
@@ -1063,9 +1047,6 @@ extern int x_catch_errors P_ ((Display *));
1063extern void x_check_errors P_ ((Display *, char *)); 1047extern void x_check_errors P_ ((Display *, char *));
1064extern int x_had_errors_p P_ ((Display *)); 1048extern int x_had_errors_p P_ ((Display *));
1065extern void x_uncatch_errors P_ ((Display *, int)); 1049extern void x_uncatch_errors P_ ((Display *, int));
1066extern Lisp_Object x_new_font P_ ((struct frame *, char *));
1067extern Lisp_Object x_new_fontset P_ ((struct frame *, char *));
1068extern void x_set_offset P_ ((struct frame *, int, int, int));
1069extern void x_set_window_size P_ ((struct frame *, int, int, int)); 1050extern void x_set_window_size P_ ((struct frame *, int, int, int));
1070extern void x_set_mouse_position P_ ((struct frame *, int, int)); 1051extern void x_set_mouse_position P_ ((struct frame *, int, int));
1071extern void x_set_mouse_pixel_position P_ ((struct frame *, int, int)); 1052extern void x_set_mouse_pixel_position P_ ((struct frame *, int, int));
@@ -1079,7 +1060,6 @@ extern void x_destroy_window P_ ((struct frame *));
1079extern void x_wm_set_size_hint P_ ((struct frame *, long, int)); 1060extern void x_wm_set_size_hint P_ ((struct frame *, long, int));
1080extern void x_wm_set_window_state P_ ((struct frame *, int)); 1061extern void x_wm_set_window_state P_ ((struct frame *, int));
1081extern void x_wm_set_icon_pixmap P_ ((struct frame *, int)); 1062extern void x_wm_set_icon_pixmap P_ ((struct frame *, int));
1082extern void x_wm_set_icon_position P_ ((struct frame *, int, int));
1083extern void x_delete_display P_ ((struct x_display_info *)); 1063extern void x_delete_display P_ ((struct x_display_info *));
1084extern void x_initialize P_ ((void)); 1064extern void x_initialize P_ ((void));
1085extern unsigned long x_copy_color P_ ((struct frame *, unsigned long)); 1065extern unsigned long x_copy_color P_ ((struct frame *, unsigned long));
@@ -1090,9 +1070,6 @@ extern void x_query_colors P_ ((struct frame *f, XColor *, int));
1090extern void x_query_color P_ ((struct frame *f, XColor *)); 1070extern void x_query_color P_ ((struct frame *f, XColor *));
1091extern void x_clear_area P_ ((Display *, Window, int, int, int, int, int)); 1071extern void x_clear_area P_ ((Display *, Window, int, int, int, int, int));
1092 1072
1093extern void x_fullscreen_adjust P_ ((struct frame *f, int *, int *,
1094 int *, int *));
1095
1096extern int x_dispatch_event P_ ((XEvent *, Display *)); 1073extern int x_dispatch_event P_ ((XEvent *, Display *));
1097 1074
1098/* Defined in xselect.c */ 1075/* Defined in xselect.c */
@@ -1114,9 +1091,7 @@ extern int x_create_bitmap_from_data P_ ((struct frame *, char *,
1114 unsigned int, unsigned int)); 1091 unsigned int, unsigned int));
1115extern int x_create_bitmap_from_file P_ ((struct frame *, Lisp_Object)); 1092extern int x_create_bitmap_from_file P_ ((struct frame *, Lisp_Object));
1116extern void x_destroy_bitmap P_ ((struct frame *, int)); 1093extern void x_destroy_bitmap P_ ((struct frame *, int));
1117extern void x_set_frame_parameters P_ ((struct frame *, Lisp_Object));
1118extern void x_real_positions P_ ((struct frame *, int *, int *)); 1094extern void x_real_positions P_ ((struct frame *, int *, int *));
1119extern void x_report_frame_params P_ ((struct frame *, Lisp_Object *));
1120extern int defined_color P_ ((struct frame *, char *, XColor *, int)); 1095extern int defined_color P_ ((struct frame *, char *, XColor *, int));
1121extern void x_set_border_pixel P_ ((struct frame *, int)); 1096extern void x_set_border_pixel P_ ((struct frame *, int));
1122extern void x_set_menu_bar_lines P_ ((struct frame *, Lisp_Object, Lisp_Object)); 1097extern void x_set_menu_bar_lines P_ ((struct frame *, Lisp_Object, Lisp_Object));