Commit Diff
- Commit:
f4020b2cc4fe45c9e8bfe47fc73deccd867cf9de- From:
- Hiltjo Posthuma <hiltjo@codemadness.org>
- Date:
- Message:
- fix regression by selecting clipboard text "restore the old behaviour that the primary doesn't get deleted by a simple left click" Patch by Daniel Tameling <tamelingdaniel@gmail.com>, thanks!
- Actions:
- Patch | Tree
--- x.c +++ x.c @@ -618,6 +618,9 @@ selrequest(XEvent *e) void setsel(char *str, Time t) { + if (!str) + return; + free(xsel.primary); xsel.primary = str;
