clipboard fix

This commit is contained in:
Your Name
2025-12-01 18:33:31 -07:00
parent 86409c030d
commit b37126608a
2 changed files with 3 additions and 0 deletions

1
x.c
View File

@@ -690,6 +690,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