Skip to content

Commit

Permalink
clipboard: Fix possibly missing trap popping
Browse files Browse the repository at this point in the history
  • Loading branch information
cwendling committed May 18, 2022
1 parent ba311c2 commit ab48cca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/clipboard/msd-clipboard-manager.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit ab48cca

Please sign in to comment.