summaryrefslogtreecommitdiff
path: root/plugins/clipboard
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/clipboard')
-rw-r--r--plugins/clipboard/msd-clipboard-manager.c4
1 files 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,