diff -ru xterm-229.ori/misc.c xterm-229/misc.c --- xterm-229.ori/misc.c 2007-07-22 17:34:04.000000000 -0300 +++ xterm-229/misc.c 2009-01-10 16:13:07.000000000 -0200 @@ -2202,10 +2202,6 @@ case 2: /* new title only */ ChangeTitle(buf); break; - - case 3: /* change X property */ - ChangeXprop(buf); - break; #if OPT_ISO_COLORS case 4: ChangeAnsiColorRequest(xw, buf, final); @@ -2669,14 +2665,17 @@ } else okay = False; - unparseputc1(xw, ANSI_DCS); - unparseputc(xw, okay ? '1' : '0'); - unparseputc(xw, '$'); - unparseputc(xw, 'r'); - if (okay) + if (okay) { + unparseputc1(xw, ANSI_DCS); + unparseputc(xw, okay ? '1' : '0'); + unparseputc(xw, '$'); + unparseputc(xw, 'r'); cp = reply; - unparseputs(xw, cp); - unparseputc1(xw, ANSI_ST); + unparseputs(xw, cp); + unparseputc1(xw, ANSI_ST); + } else { + unparseputc1(xw, ANSI_CAN); + } } else { unparseputc(xw, ANSI_CAN); }