… | |
… | |
97 | /* |
97 | /* |
98 | ***************************************************************************** |
98 | ***************************************************************************** |
99 | * SYSTEM HACKS |
99 | * SYSTEM HACKS |
100 | ***************************************************************************** |
100 | ***************************************************************************** |
101 | */ |
101 | */ |
102 | /* Consistent defines - please report on the necessity |
|
|
103 | * @ Unixware: defines (__svr4__) |
|
|
104 | */ |
|
|
105 | #if defined (SVR4) && !defined (__svr4__) |
|
|
106 | # define __svr4__ 1 |
|
|
107 | #endif |
|
|
108 | #if defined (sun) && !defined (__sun__) |
|
|
109 | # define __sun__ 1 |
|
|
110 | #endif |
|
|
111 | |
102 | |
112 | #ifndef HAVE_XPOINTER |
103 | #ifndef HAVE_XPOINTER |
113 | typedef char *XPointer; |
104 | typedef char *XPointer; |
114 | #endif |
105 | #endif |
115 | |
106 | |
… | |
… | |
999 | mouse_slip_wheel_speed, |
990 | mouse_slip_wheel_speed, |
1000 | #endif |
991 | #endif |
1001 | refresh_count, |
992 | refresh_count, |
1002 | window_vt_x, |
993 | window_vt_x, |
1003 | window_vt_y, |
994 | window_vt_y, |
1004 | window_sb_x, |
|
|
1005 | mouse_row, |
995 | mouse_row, |
1006 | mouse_col, |
996 | mouse_col, |
1007 | # ifdef POINTER_BLANK |
997 | # ifdef POINTER_BLANK |
1008 | pointerBlankDelay, |
998 | pointerBlankDelay, |
1009 | # endif |
999 | # endif |
… | |
… | |
1111 | |
1101 | |
1112 | #if ENABLE_FRILLS || ISO_14755 |
1102 | #if ENABLE_FRILLS || ISO_14755 |
1113 | // ISO 14755 entry support |
1103 | // ISO 14755 entry support |
1114 | unicode_t iso14755buf; |
1104 | unicode_t iso14755buf; |
1115 | void commit_iso14755 (); |
1105 | void commit_iso14755 (); |
1116 | int hex_keyval (XKeyEvent &ev); |
|
|
1117 | # if ISO_14755 |
1106 | # if ISO_14755 |
1118 | void iso14755_51 (unicode_t ch, rend_t r = DEFAULT_RSTYLE, int x = 0, int y = -1); |
1107 | void iso14755_51 (unicode_t ch, rend_t r = DEFAULT_RSTYLE, int x = 0, int y = -1); |
1119 | void iso14755_54 (int x, int y); |
1108 | void iso14755_54 (int x, int y); |
1120 | # endif |
1109 | # endif |
1121 | #endif |
1110 | #endif |
… | |
… | |
1366 | options[opt >> 3] |= (1 << (opt & 7)); |
1355 | options[opt >> 3] |= (1 << (opt & 7)); |
1367 | else |
1356 | else |
1368 | options[opt >> 3] &= ~(1 << (opt & 7)); |
1357 | options[opt >> 3] &= ~(1 << (opt & 7)); |
1369 | } |
1358 | } |
1370 | |
1359 | |
1371 | void PrivMode (int set, unsigned bit) NOTHROW |
1360 | void set_privmode (unsigned bit, int set) NOTHROW |
1372 | { |
1361 | { |
1373 | if (set) |
1362 | if (set) |
1374 | priv_modes |= bit; |
1363 | priv_modes |= bit; |
1375 | else |
1364 | else |
1376 | priv_modes &= ~bit; |
1365 | priv_modes &= ~bit; |