… | |
… | |
8 | #if defined (ISO_14755) || defined (ENABLE_PERL) |
8 | #if defined (ISO_14755) || defined (ENABLE_PERL) |
9 | # define ENABLE_OVERLAY 1 |
9 | # define ENABLE_OVERLAY 1 |
10 | #endif |
10 | #endif |
11 | |
11 | |
12 | #if ENABLE_PERL |
12 | #if ENABLE_PERL |
13 | # define ENABLE_FRILLS 1 |
13 | # define ENABLE_FRILLS 1 |
14 | # define ENABLE_COMBINING 1 |
14 | # define ENABLE_COMBINING 1 |
15 | #endif |
15 | #endif |
16 | |
16 | |
17 | #if ENABLE_FRILLS |
17 | #if ENABLE_FRILLS |
18 | # define ENABLE_XEMBED 1 |
18 | # define ENABLE_XEMBED 1 |
19 | # define ENABLE_EWMH 1 |
19 | # define ENABLE_EWMH 1 |
20 | # define ENABLE_XIM_ONTHESPOT 1 |
20 | # define ENABLE_XIM_ONTHESPOT 1 |
21 | # define CURSOR_BLINK 1 |
21 | # define CURSOR_BLINK 1 |
|
|
22 | # define OPTION_HC 1 |
22 | #else |
23 | #else |
23 | # define ENABLE_MINIMAL 1 |
24 | # define ENABLE_MINIMAL 1 |
24 | #endif |
25 | #endif |
25 | |
26 | |
26 | #include <limits.h> |
27 | #include <limits.h> |
… | |
… | |
773 | # define XPMClearArea(a, b, c, d, e, f, g) XClearArea((a), (b), (c), (d), (e), (f), (g)) |
774 | # define XPMClearArea(a, b, c, d, e, f, g) XClearArea((a), (b), (c), (d), (e), (f), (g)) |
774 | #else |
775 | #else |
775 | # define XPMClearArea(a, b, c, d, e, f, g) |
776 | # define XPMClearArea(a, b, c, d, e, f, g) |
776 | #endif |
777 | #endif |
777 | |
778 | |
778 | typedef callback1<void, const char *> log_callback; |
779 | typedef callback<void (const char *)> log_callback; |
779 | typedef callback1<int, int> getfd_callback; |
780 | typedef callback<int (int)> getfd_callback; |
780 | |
781 | |
781 | #define SET_LOCALE(locale) rxvt_set_locale (locale) |
782 | #define SET_LOCALE(locale) rxvt_set_locale (locale) |
782 | extern bool rxvt_set_locale (const char *locale) NOTHROW; |
783 | extern bool rxvt_set_locale (const char *locale) NOTHROW; |
783 | extern void rxvt_push_locale (const char *locale) NOTHROW; |
784 | extern void rxvt_push_locale (const char *locale) NOTHROW; |
784 | extern void rxvt_pop_locale () NOTHROW; |
785 | extern void rxvt_pop_locale () NOTHROW; |
… | |
… | |
1098 | void vt_select_input () const NOTHROW |
1099 | void vt_select_input () const NOTHROW |
1099 | { |
1100 | { |
1100 | XSelectInput (dpy, vt, vt_emask | vt_emask_perl | vt_emask_xim); |
1101 | XSelectInput (dpy, vt, vt_emask | vt_emask_perl | vt_emask_xim); |
1101 | } |
1102 | } |
1102 | |
1103 | |
1103 | #if TRANSPARENT |
1104 | #if TRANSPARENT || ENABLE_PERL |
1104 | void rootwin_cb (XEvent &xev); |
1105 | void rootwin_cb (XEvent &xev); |
1105 | xevent_watcher rootwin_ev; |
1106 | xevent_watcher rootwin_ev; |
1106 | #endif |
1107 | #endif |
1107 | |
1108 | |
1108 | void x_cb (XEvent &xev); |
1109 | void x_cb (XEvent &xev); |
… | |
… | |
1227 | void mouse_report (XButtonEvent &ev); |
1228 | void mouse_report (XButtonEvent &ev); |
1228 | void button_press (XButtonEvent &ev); |
1229 | void button_press (XButtonEvent &ev); |
1229 | void button_release (XButtonEvent &ev); |
1230 | void button_release (XButtonEvent &ev); |
1230 | void focus_in (); |
1231 | void focus_in (); |
1231 | void focus_out (); |
1232 | void focus_out (); |
|
|
1233 | void update_fade_color (unsigned int idx); |
1232 | int check_our_parents (); |
1234 | int check_our_parents (); |
1233 | #ifdef PRINTPIPE |
1235 | #ifdef PRINTPIPE |
1234 | FILE *popen_printer (); |
1236 | FILE *popen_printer (); |
1235 | int pclose_printer (FILE *stream); |
1237 | int pclose_printer (FILE *stream); |
1236 | #endif |
1238 | #endif |