summaryrefslogtreecommitdiff
path: root/patches/st-clipboard-20160727-308bfbf.diff
diff options
context:
space:
mode:
authorShiva <shiv@shiv.me>2017-01-29 21:59:15 -0800
committerShiva <shiv@shiv.me>2017-01-29 21:59:15 -0800
commit97e27bc64d415a561cd78babb2cc9e383b42ffcb (patch)
treeb944e475f287e31d2df2f73227c13b4f93cb3e9d /patches/st-clipboard-20160727-308bfbf.diff
parentefde1e896e2682e8afb6bd278a3035f43bbf14df (diff)
Update readme with details about patches
Diffstat (limited to 'patches/st-clipboard-20160727-308bfbf.diff')
-rw-r--r--patches/st-clipboard-20160727-308bfbf.diff13
1 files changed, 13 insertions, 0 deletions
diff --git a/patches/st-clipboard-20160727-308bfbf.diff b/patches/st-clipboard-20160727-308bfbf.diff
new file mode 100644
index 0000000..4cbec85
--- /dev/null
+++ b/patches/st-clipboard-20160727-308bfbf.diff
@@ -0,0 +1,13 @@
+diff --git a/st.c b/st.c
+index 2594c65..ebdde9f 100644
+--- a/st.c
++++ b/st.c
+@@ -1263,6 +1263,8 @@ xsetsel(char *str, Time t)
+ XSetSelectionOwner(xw.dpy, XA_PRIMARY, xw.win, t);
+ if (XGetSelectionOwner(xw.dpy, XA_PRIMARY) != xw.win)
+ selclear(0);
++
++ clipcopy(NULL);
+ }
+
+ void