diff --git a/x.c b/x.c index 0c0778b..23af62b 100644 --- a/x.c +++ b/x.c @@ -179,7 +179,6 @@ static void bpress(XEvent *); static void bmotion(XEvent *); static void propnotify(XEvent *); static void selnotify(XEvent *); -static void selclear_(XEvent *); static void selrequest(XEvent *); static void setsel(char *, Time); static void mousesel(XEvent *, int); @@ -202,11 +201,6 @@ static void (*handler[LASTEvent])(XEvent *) = { [MotionNotify] = bmotion, [ButtonPress] = bpress, [ButtonRelease] = brelease, -/* - * Uncomment if you want the selection to disappear when you select something - * different in another window. - */ -/* [SelectionClear] = selclear_, */ [SelectionNotify] = selnotify, /* * PropertyNotify is only turned on when there is some INCR transfer happening @@ -600,12 +594,6 @@ xclipcopy(void) clipcopy(NULL); } -void -selclear_(XEvent *e) -{ - selclear(); -} - void selrequest(XEvent *e) {