I3-wm clipboard is cleared when I close a window

clipboardi3

I'm using i3 and normally I can copy text between windows no problem but if I close the window where the text is copied from before pasting the clipboard seems to get cleared.

Any ideas on how I can fix this?

Update: Found that this happens with terminal but not with firefox.

Best Answer

I found out that having a clipboard manager application (like clipit) fixes this issue.

Related Question