diff options
| author | foswret <foswret@posteo.com> | 2025-07-03 11:00:02 -0500 |
|---|---|---|
| committer | foswret <foswret@posteo.com> | 2025-07-03 11:00:02 -0500 |
| commit | 51f0780fddce1543ba6f0a68d4d5e215bbfdc3f2 (patch) | |
| tree | d9efa8793a3c4fc1f2cea7ac4f1a6edc5c65d79f /patches/st-clipboard-0.8.3.diff | |
| parent | b04602a2dc553af7babfa61e0ee2ccc05e930344 (diff) | |
applied Xresources patch
Diffstat (limited to 'patches/st-clipboard-0.8.3.diff')
| -rw-r--r-- | patches/st-clipboard-0.8.3.diff | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/patches/st-clipboard-0.8.3.diff b/patches/st-clipboard-0.8.3.diff new file mode 100644 index 0000000..c1e0e9e --- /dev/null +++ b/patches/st-clipboard-0.8.3.diff @@ -0,0 +1,12 @@ +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 |
