cdown / clipmenu

Clipboard management using dmenu
MIT License
1.1k stars 90 forks source link

Check serial time as part of disable rejection #217

Open cdown opened 3 months ago

cdown commented 3 months ago

It's possible (but highly unlikely) right now we may race on disable/enable if there was a lot of clipboard spam. It would be better to record the current X server time at the point we last disabled and last enabled, and only accept selections from between then.