Applied st-clipboard patch

This commit is contained in:
2024-04-22 23:25:58 +05:30
parent f2987e1f31
commit ad509637c4
2 changed files with 13 additions and 0 deletions

1
x.c
View File

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