… | |
… | |
117 | // misc.C |
117 | // misc.C |
118 | char * rxvt_wcstombs (const wchar_t *str, int len = -1); |
118 | char * rxvt_wcstombs (const wchar_t *str, int len = -1); |
119 | wchar_t * rxvt_mbstowcs (const char *str, int len = -1); |
119 | wchar_t * rxvt_mbstowcs (const char *str, int len = -1); |
120 | char * rxvt_wcstoutf8 (const wchar_t *str, int len = -1); |
120 | char * rxvt_wcstoutf8 (const wchar_t *str, int len = -1); |
121 | wchar_t * rxvt_utf8towcs (const char *str, int len = -1); |
121 | wchar_t * rxvt_utf8towcs (const char *str, int len = -1); |
122 | char * rxvt_strdup_cpp (const char *str); |
|
|
123 | |
122 | |
124 | #define rxvt_strdup(s) ((s) ? strdup(s) : 0) |
123 | #define rxvt_strdup(s) ((s) ? strdup(s) : 0) |
125 | |
124 | |
126 | char * rxvt_r_basename (const char *str) NOTHROW; |
125 | char * rxvt_r_basename (const char *str) NOTHROW; |
127 | void rxvt_vlog (const char *fmt, va_list arg_ptr) NOTHROW; |
126 | void rxvt_vlog (const char *fmt, va_list arg_ptr) NOTHROW; |
… | |
… | |
1021 | row_col_t oldcursor; |
1020 | row_col_t oldcursor; |
1022 | #ifdef XPM_BACKGROUND |
1021 | #ifdef XPM_BACKGROUND |
1023 | bgPixmap_t bgPixmap; |
1022 | bgPixmap_t bgPixmap; |
1024 | #ifdef HAVE_AFTERIMAGE |
1023 | #ifdef HAVE_AFTERIMAGE |
1025 | struct ASVisual *asv; |
1024 | struct ASVisual *asv; |
1026 | /* to get libAfterImage to work with multiple displays we use that hack : */ |
|
|
1027 | /* should not need that with libAfterImage version >= 1.15 */ |
|
|
1028 | #define AFTERIMAGE_DPY_OP(_op) ({::dpy = dpy; _op;}) |
|
|
1029 | ASImageManager *asimman; |
1025 | ASImageManager *asimman; |
1030 | ASImage *original_asim; |
1026 | ASImage *original_asim; |
1031 | struct { unsigned int width, height; } xpmAttr; /* all we need is width/height */ |
1027 | struct { unsigned int width, height; } xpmAttr; /* all we need is width/height */ |
1032 | #else |
1028 | #else |
1033 | XpmAttributes xpmAttr; /* originally loaded pixmap and its scaling */ |
1029 | XpmAttributes xpmAttr; /* originally loaded pixmap and its scaling */ |