… | |
… | |
337 | #define Sel_direct 0x00 |
337 | #define Sel_direct 0x00 |
338 | #define Sel_Primary 0x01 |
338 | #define Sel_Primary 0x01 |
339 | #define Sel_Secondary 0x02 |
339 | #define Sel_Secondary 0x02 |
340 | #define Sel_Clipboard 0x03 |
340 | #define Sel_Clipboard 0x03 |
341 | #define Sel_whereMask 0x0f |
341 | #define Sel_whereMask 0x0f |
342 | #define Sel_CompoundText 0x10 /* last request was Compound */ |
342 | #define Sel_CompoundText 0x10 /* last request was COMPOUND_TEXT */ |
|
|
343 | #define Sel_UTF8String 0x20 /* last request was UTF8_STRING */ |
343 | |
344 | |
344 | enum { |
345 | enum { |
345 | C0_NUL = 0x00, |
346 | C0_NUL = 0x00, |
346 | C0_SOH, C0_STX, C0_ETX, C0_EOT, C0_ENQ, C0_ACK, C0_BEL, |
347 | C0_SOH, C0_STX, C0_ETX, C0_EOT, C0_ENQ, C0_ACK, C0_BEL, |
347 | C0_BS , C0_HT , C0_LF , C0_VT , C0_FF , C0_CR , C0_SO , C0_SI , |
348 | C0_BS , C0_HT , C0_LF , C0_VT , C0_FF , C0_CR , C0_SO , C0_SI , |
… | |
… | |
542 | Rs_pointerBlankDelay, |
543 | Rs_pointerBlankDelay, |
543 | Rs_imLocale, |
544 | Rs_imLocale, |
544 | NUM_RESOURCES |
545 | NUM_RESOURCES |
545 | }; |
546 | }; |
546 | |
547 | |
|
|
548 | // see init.C:xa_named, which must be kept in sync |
547 | enum { |
549 | enum { |
|
|
550 | XA_TEXT = 0, |
548 | XA_COMPOUND_TEXT = 0, |
551 | XA_COMPOUND_TEXT, |
|
|
552 | XA_UTF8_STRING, |
549 | XA_MULTIPLE, |
553 | XA_MULTIPLE, |
550 | XA_TARGETS, |
554 | XA_TARGETS, |
551 | XA_TEXT, |
|
|
552 | XA_TIMESTAMP, |
555 | XA_TIMESTAMP, |
553 | XA_VT_SELECTION, |
556 | XA_VT_SELECTION, |
554 | XA_INCR, |
557 | XA_INCR, |
555 | XA_WMDELETEWINDOW, |
558 | XA_WMDELETEWINDOW, |
556 | #ifdef TRANSPARENT |
559 | #ifdef TRANSPARENT |
… | |
… | |
561 | XA_DNDSELECTION, |
564 | XA_DNDSELECTION, |
562 | #endif /* OFFIX_DND */ |
565 | #endif /* OFFIX_DND */ |
563 | XA_CLIPBOARD, |
566 | XA_CLIPBOARD, |
564 | NUM_XA |
567 | NUM_XA |
565 | }; |
568 | }; |
566 | |
|
|
567 | /* |
|
|
568 | * number of graphics points |
|
|
569 | * divisible by 2 (num lines) |
|
|
570 | * divisible by 4 (num rect) |
|
|
571 | */ |
|
|
572 | #define NGRX_PTS 1000 |
|
|
573 | |
569 | |
574 | /* DEC private modes */ |
570 | /* DEC private modes */ |
575 | #define PrivMode_132 (1LU<<0) |
571 | #define PrivMode_132 (1LU<<0) |
576 | #define PrivMode_132OK (1LU<<1) |
572 | #define PrivMode_132OK (1LU<<1) |
577 | #define PrivMode_rVideo (1LU<<2) |
573 | #define PrivMode_rVideo (1LU<<2) |
… | |
… | |
836 | num_scr_allow:1, |
832 | num_scr_allow:1, |
837 | bypass_keystate:1, |
833 | bypass_keystate:1, |
838 | #ifdef CURSOR_BLINK |
834 | #ifdef CURSOR_BLINK |
839 | hidden_cursor:1, |
835 | hidden_cursor:1, |
840 | #endif |
836 | #endif |
|
|
837 | #ifdef TEXT_BLINK |
|
|
838 | hidden_text:1, |
|
|
839 | #endif |
841 | #ifdef POINTER_BLANK |
840 | #ifdef POINTER_BLANK |
842 | hidden_pointer:1, |
841 | hidden_pointer:1, |
843 | #endif |
842 | #endif |
844 | parsed_geometry:1, |
843 | parsed_geometry:1, |
845 | seen_input:1, /* wether any input has been seen so far */ |
844 | seen_input:1, /* wether any input has been seen so far */ |