commit c8b3f11bb1916d3cf3d49ae44d1c33fb9c61f614
parent 062e6d373537c60829fa9b5dcddbcd942986b3c3
Author: Vladimir Panteleev <git@cy.md>
Date: Wed, 2 Feb 2022 21:48:34 +0000
Fix MULTIPLE conversion requests
We were attempting to query the property with an uninitialized atom.
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/xsel.c b/xsel.c
@@ -1667,6 +1667,7 @@ handle_selection_request (XEvent event, unsigned char * sel)
ev.property = None;
} else {
/* Handle MULTIPLE request */
+ ev.property = xsr->property;
hr = handle_multiple (ev.display, ev.requestor, ev.property, sel,
ev.selection, ev.time, NULL);
}