diff --git a/.gitignore b/.gitignore index 3180c71..39a6daf 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,6 @@ st.o st x.o -config.h \ No newline at end of file +config.h +*.orig +*.rej \ No newline at end of file diff --git a/patches/st-clipboard-0.8.3.diff b/patches/st-clipboard-0.8.3.diff deleted file mode 100644 index c1e0e9e..0000000 --- a/patches/st-clipboard-0.8.3.diff +++ /dev/null @@ -1,12 +0,0 @@ -diff --git a/x.c b/x.c -index e5f1737..5cabd60 100644 ---- a/x.c -+++ b/x.c -@@ -673,6 +673,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 diff --git a/x.c b/x.c index d73152b..d78e261 100644 --- a/x.c +++ b/x.c @@ -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