SwordArMor-gentoo-overlay/x11-terms/rxvt-unicode/files/rxvt-unicode-9.22-query-graphics-insecure.patch

12 lines
403 B
Diff
Raw Normal View History

--- a/src/command.C
+++ b/src/command.C
@@ -2695,7 +2695,7 @@
/* kidnapped escape sequence: Should be 8.3.48 */
case C1_ESA: /* ESC G */
// used by original rxvt for rob nations own graphics mode
- if (cmd_getc () == 'Q')
+ if (cmd_getc () == 'Q' && option (Opt_insecure))
tt_printf ("\033G0\012"); /* query graphics - no graphics */
break;