Makes clipboard work better

master
Jonathan Hodgson 5 years ago
parent 7115c4acee
commit 2f2c7792a8
  1. 1
      x.c

1
x.c

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

Loading…
Cancel
Save