shithub: drawterm

Download patch

ref: 600869ad4163b0bafed7ff9ebedefeee8fcc7116
parent: e4adfd002653e5abe6e66a9c5b63374cb19b3696
author: Sigrid Solveig Haflínudóttir <ftrvxmtrx@gmail.com>
date: Fri Jan 7 14:29:56 EST 2022

x11: shut up about random selection requests that drawterm ignores anyway

--- a/gui-x11/x11.c
+++ b/gui-x11/x11.c
@@ -1230,7 +1230,7 @@
 				/* nothing */
 			}else if(strcasecmp(name, "text/plain") == 0 || strcasecmp(name, "text/plain;charset=UTF-8") == 0){
 				goto text;
-			}else
+			}else if(0)
 				iprint("cannot handle selection request for '%s' (%d)\n", name, (int)xe->target);
 		}
 		r.xselection.property = None;