diff options
author | Benjamin Otte <otte@redhat.com> | 2017-12-14 04:20:48 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2017-12-14 04:20:48 +0100 |
commit | 65fcff87b2df4d217814bf6519e2ebe433baf1aa (patch) | |
tree | 34c94771e8c69537bc84f4e7698833829ada29b7 /gdk/x11/gdkclipboard-x11.c | |
parent | f2bb2024c87dae1ce655154fb5bea0eb07cef48c (diff) | |
download | gtk+-65fcff87b2df4d217814bf6519e2ebe433baf1aa.tar.gz |
gdk: Remove ability to request selection notifications
Without selections, that's kinda pointless.
Diffstat (limited to 'gdk/x11/gdkclipboard-x11.c')
-rw-r--r-- | gdk/x11/gdkclipboard-x11.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdk/x11/gdkclipboard-x11.c b/gdk/x11/gdkclipboard-x11.c index ccbd3c19b3..38151aeea2 100644 --- a/gdk/x11/gdkclipboard-x11.c +++ b/gdk/x11/gdkclipboard-x11.c @@ -813,7 +813,7 @@ gdk_x11_clipboard_new (GdkDisplay *display, cb->selection = g_strdup (selection); cb->xselection = gdk_x11_get_xatom_by_name_for_display (display, selection); - gdk_display_request_selection_notification (display, gdk_atom_intern (selection, FALSE)); + gdk_x11_display_request_selection_notification (display, selection); g_signal_connect (display, "xevent", G_CALLBACK (gdk_x11_clipboard_xevent), cb); gdk_x11_clipboard_claim_remote (cb, CurrentTime); |