From ab48cca074ec2a9d90c0aef4d562339419980cd2 Mon Sep 17 00:00:00 2001 From: Colomban Wendling Date: Tue, 26 Apr 2022 12:30:50 +0200 Subject: clipboard: Fix possibly missing trap popping --- plugins/clipboard/msd-clipboard-manager.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/clipboard/msd-clipboard-manager.c b/plugins/clipboard/msd-clipboard-manager.c index ef4007a..a2aedc8 100644 --- a/plugins/clipboard/msd-clipboard-manager.c +++ b/plugins/clipboard/msd-clipboard-manager.c @@ -432,9 +432,9 @@ convert_clipboard_manager (MsdClipboardManager *manager, if (gdk_x11_display_error_trap_pop (display) != Success) return; - gdk_x11_display_error_trap_push (display); - if (xev->xselectionrequest.property != None) { + gdk_x11_display_error_trap_push (display); + XGetWindowProperty (manager->priv->display, xev->xselectionrequest.requestor, xev->xselectionrequest.property, -- cgit v1.2.1