feat/clipboard #6

Merged
syrell merged 2 commits from feat/clipboard into custom 2023-06-27 22:30:31 +02:00
Showing only changes of commit 54a348518d - Show all commits

2
x.c
View File

@ -689,6 +689,8 @@ 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();
xclipcopy();
} }
void void