Added select to copy

This commit is contained in:
Marco Raber 2020-09-08 09:36:21 +02:00
parent 8e3cd1ae1e
commit f91aa7b5ec

1
x.c
View File

@ -679,6 +679,7 @@ setsel(char *str, Time t)
XSetSelectionOwner(xw.dpy, XA_PRIMARY, xw.win, t); XSetSelectionOwner(xw.dpy, XA_PRIMARY, xw.win, t);
if (XGetSelectionOwner(xw.dpy, XA_PRIMARY) != xw.win) if (XGetSelectionOwner(xw.dpy, XA_PRIMARY) != xw.win)
selclear(); selclear();
clipcopy(NULL);
} }
void void