X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=src%2Fselect-x.c;h=aa4c7dcfc5d7d119ba9b9044f822a213f042ab98;hb=aa982acf01b4e35675a624d78c9e5ee109c1203e;hp=e2e003f666f34ab8a358aa43bfc8d94e1623072f;hpb=3198ed8319f99e19a14447745f4f93e4b4522961;p=chise%2Fxemacs-chise.git diff --git a/src/select-x.c b/src/select-x.c index e2e003f..aa4c7dc 100644 --- a/src/select-x.c +++ b/src/select-x.c @@ -73,7 +73,7 @@ Lisp_Object Vx_sent_selection_hooks; /* If the selection owner takes too long to reply to a selection request, we give up on it. This is in seconds (0 = no timeout). */ -int x_selection_timeout; +Fixnum x_selection_timeout; /* Enable motif selection optimizations. */ int x_selection_strict_motif_ownership; @@ -1628,6 +1628,14 @@ Set the value of the named CUTBUFFER (typically CUT_BUFFER0) to STRING. continue; } +#ifdef UTF2000 + if ((*ptr) <= 0xC3) + { + chartypes = LATIN_1; + ptr += 2; + continue; + } +#else if ((*ptr) == LEADING_BYTE_LATIN_ISO8859_1 || (*ptr) == LEADING_BYTE_CONTROL_1) { @@ -1635,6 +1643,7 @@ Set the value of the named CUTBUFFER (typically CUT_BUFFER0) to STRING. ptr += 2; continue; } +#endif chartypes = WORLD; break;