Changeset 205
- Timestamp:
- 01/17/08 13:28:12 (10 months ago)
- Files:
-
- xsel/trunk/xsel.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
xsel/trunk/xsel.c
r200 r205 62 62 static Atom text_atom; /* The TEXT atom */ 63 63 static Atom utf8_atom; /* The UTF8 atom */ 64 static Atom compound_text_atom; /* The COMPOUND_TEXT atom */ 64 65 65 66 /* Number of selection targets served by this. 66 * (MULTIPLE, INCR, TARGETS, TIMESTAMP, DELETE, TEXT, UTF8_STRING and STRING) */ 67 * (MULTIPLE, INCR, TARGETS, TIMESTAMP, DELETE, TEXT, UTF8_STRING and STRING) 68 * NB. We do not currently serve COMPOUND_TEXT; we can retrieve it but do not 69 * perform charset conversion. 70 */ 67 71 #define MAX_NUM_TARGETS 8 68 72 static int NUM_TARGETS; … … 627 631 keep_waiting = False; 628 632 } else if (target != utf8_atom && target != XA_STRING && 633 target != compound_text_atom && 629 634 request_target != delete_atom) { 630 635 /* Report non-TEXT atoms */ … … 2012 2017 NUM_TARGETS++; 2013 2018 2019 /* Get the COMPOUND_TEXT atom. 2020 * NB. We do not currently serve COMPOUND_TEXT; we can retrieve it but 2021 * do not perform charset conversion. 2022 */ 2023 compound_text_atom = XInternAtom (display, "COMPOUND_TEXT", False); 2024 2014 2025 /* handle selection keeping and exit if so */ 2015 2026 if (do_keep) {
