diff options
Diffstat (limited to 'patches/st-clipboard-20180309-c5ba9c0.diff')
-rw-r--r-- | patches/st-clipboard-20180309-c5ba9c0.diff | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/patches/st-clipboard-20180309-c5ba9c0.diff b/patches/st-clipboard-20180309-c5ba9c0.diff new file mode 100644 index 0000000..4a14e2b --- /dev/null +++ b/patches/st-clipboard-20180309-c5ba9c0.diff @@ -0,0 +1,13 @@ +diff --git a/x.c b/x.c +index 13fa9f4..88fd341 100644 +--- a/x.c ++++ b/x.c +@@ -624,6 +624,8 @@ setsel(char *str, Time t) + XSetSelectionOwner(xw.dpy, XA_PRIMARY, xw.win, t); + if (XGetSelectionOwner(xw.dpy, XA_PRIMARY) != xw.win) + selclear(); ++ ++ xclipcopy(); + } + + void |