49 |
|
|
50 |
#endif /* USE_GTK */ |
#endif /* USE_GTK */ |
51 |
|
|
|
/* The class of this X application. */ |
|
|
#define EMACS_CLASS "Emacs" |
|
52 |
|
|
53 |
/* Bookkeeping to distinguish X versions. */ |
/* Bookkeeping to distinguish X versions. */ |
54 |
|
|
646 |
|
|
647 |
enum |
enum |
648 |
{ |
{ |
|
/* Values used as a bit mask, BOTH == WIDTH | HEIGHT. */ |
|
|
FULLSCREEN_NONE = 0, |
|
|
FULLSCREEN_WIDTH = 1, |
|
|
FULLSCREEN_HEIGHT = 2, |
|
|
FULLSCREEN_BOTH = 3, |
|
|
FULLSCREEN_WAIT = 4, |
|
|
FULLSCREEN_MOVE_WAIT = 8, |
|
|
}; |
|
|
|
|
|
enum |
|
|
{ |
|
649 |
/* Values for focus_state, used as bit mask. |
/* Values for focus_state, used as bit mask. |
650 |
EXPLICIT means we received a FocusIn for the frame and know it has |
EXPLICIT means we received a FocusIn for the frame and know it has |
651 |
the focus. IMPLICIT means we recevied an EnterNotify and the frame |
the focus. IMPLICIT means we recevied an EnterNotify and the frame |
1017 |
|
|
1018 |
/* From xrdb.c. */ |
/* From xrdb.c. */ |
1019 |
|
|
|
char *x_get_string_resource P_ ((XrmDatabase, char *, char *)); |
|
1020 |
char *x_get_customization_string P_ ((XrmDatabase, char *, char *)); |
char *x_get_customization_string P_ ((XrmDatabase, char *, char *)); |
1021 |
XrmDatabase x_load_resources P_ ((Display *, char *, char *, char *)); |
XrmDatabase x_load_resources P_ ((Display *, char *, char *, char *)); |
1022 |
int x_get_resource P_ ((XrmDatabase, char *, char *, |
int x_get_resource P_ ((XrmDatabase, char *, char *, |
1025 |
void x_make_frame_visible P_ ((struct frame *)); |
void x_make_frame_visible P_ ((struct frame *)); |
1026 |
void x_iconify_frame P_ ((struct frame *)); |
void x_iconify_frame P_ ((struct frame *)); |
1027 |
void x_wm_set_size_hint P_ ((struct frame *, long, int)); |
void x_wm_set_size_hint P_ ((struct frame *, long, int)); |
|
void x_set_offset P_ ((struct frame *, int, int, int)); |
|
|
void x_wm_set_icon_position P_ ((struct frame *, int, int)); |
|
1028 |
int x_catch_errors P_ ((Display *)); |
int x_catch_errors P_ ((Display *)); |
1029 |
int x_had_errors_p P_ ((Display *)); |
int x_had_errors_p P_ ((Display *)); |
1030 |
void x_uncatch_errors P_ ((Display *, int)); |
void x_uncatch_errors P_ ((Display *, int)); |
1047 |
extern void x_check_errors P_ ((Display *, char *)); |
extern void x_check_errors P_ ((Display *, char *)); |
1048 |
extern int x_had_errors_p P_ ((Display *)); |
extern int x_had_errors_p P_ ((Display *)); |
1049 |
extern void x_uncatch_errors P_ ((Display *, int)); |
extern void x_uncatch_errors P_ ((Display *, int)); |
|
extern Lisp_Object x_new_font P_ ((struct frame *, char *)); |
|
|
extern Lisp_Object x_new_fontset P_ ((struct frame *, char *)); |
|
|
extern void x_set_offset P_ ((struct frame *, int, int, int)); |
|
1050 |
extern void x_set_window_size P_ ((struct frame *, int, int, int)); |
extern void x_set_window_size P_ ((struct frame *, int, int, int)); |
1051 |
extern void x_set_mouse_position P_ ((struct frame *, int, int)); |
extern void x_set_mouse_position P_ ((struct frame *, int, int)); |
1052 |
extern void x_set_mouse_pixel_position P_ ((struct frame *, int, int)); |
extern void x_set_mouse_pixel_position P_ ((struct frame *, int, int)); |
1060 |
extern void x_wm_set_size_hint P_ ((struct frame *, long, int)); |
extern void x_wm_set_size_hint P_ ((struct frame *, long, int)); |
1061 |
extern void x_wm_set_window_state P_ ((struct frame *, int)); |
extern void x_wm_set_window_state P_ ((struct frame *, int)); |
1062 |
extern void x_wm_set_icon_pixmap P_ ((struct frame *, int)); |
extern void x_wm_set_icon_pixmap P_ ((struct frame *, int)); |
|
extern void x_wm_set_icon_position P_ ((struct frame *, int, int)); |
|
1063 |
extern void x_delete_display P_ ((struct x_display_info *)); |
extern void x_delete_display P_ ((struct x_display_info *)); |
1064 |
extern void x_initialize P_ ((void)); |
extern void x_initialize P_ ((void)); |
1065 |
extern unsigned long x_copy_color P_ ((struct frame *, unsigned long)); |
extern unsigned long x_copy_color P_ ((struct frame *, unsigned long)); |
1070 |
extern void x_query_color P_ ((struct frame *f, XColor *)); |
extern void x_query_color P_ ((struct frame *f, XColor *)); |
1071 |
extern void x_clear_area P_ ((Display *, Window, int, int, int, int, int)); |
extern void x_clear_area P_ ((Display *, Window, int, int, int, int, int)); |
1072 |
|
|
|
extern void x_fullscreen_adjust P_ ((struct frame *f, int *, int *, |
|
|
int *, int *)); |
|
|
|
|
1073 |
extern int x_dispatch_event P_ ((XEvent *, Display *)); |
extern int x_dispatch_event P_ ((XEvent *, Display *)); |
1074 |
|
|
1075 |
/* Defined in xselect.c */ |
/* Defined in xselect.c */ |
1091 |
unsigned int, unsigned int)); |
unsigned int, unsigned int)); |
1092 |
extern int x_create_bitmap_from_file P_ ((struct frame *, Lisp_Object)); |
extern int x_create_bitmap_from_file P_ ((struct frame *, Lisp_Object)); |
1093 |
extern void x_destroy_bitmap P_ ((struct frame *, int)); |
extern void x_destroy_bitmap P_ ((struct frame *, int)); |
|
extern void x_set_frame_parameters P_ ((struct frame *, Lisp_Object)); |
|
1094 |
extern void x_real_positions P_ ((struct frame *, int *, int *)); |
extern void x_real_positions P_ ((struct frame *, int *, int *)); |
|
extern void x_report_frame_params P_ ((struct frame *, Lisp_Object *)); |
|
1095 |
extern int defined_color P_ ((struct frame *, char *, XColor *, int)); |
extern int defined_color P_ ((struct frame *, char *, XColor *, int)); |
1096 |
extern void x_set_border_pixel P_ ((struct frame *, int)); |
extern void x_set_border_pixel P_ ((struct frame *, int)); |
1097 |
extern void x_set_menu_bar_lines P_ ((struct frame *, Lisp_Object, Lisp_Object)); |
extern void x_set_menu_bar_lines P_ ((struct frame *, Lisp_Object, Lisp_Object)); |