I found two similar pieces of code, that are responsible for some warning message on my system, due to extended use of atoms for clipboard mime types (text/plain;charset=utf-8 and text/url-list).
This change simplifies the code, by exporting the handling of extensions into a simple macro block: MODIFY_SELECTION(xe), with the XSelectionEvent*xe.
I found two similar pieces of code, that are responsible for some warning message on my system, due to extended use of atoms for clipboard mime types (text/plain;charset=utf-8 and text/url-list). This change simplifies the code, by exporting the handling of extensions into a simple macro block: MODIFY_SELECTION(xe), with the XSelectionEvent*xe.