[Xfce4-commits] [xfce/xfce4-settings] 01/01: Fix incremental sending from the clipboard manager (Bug #13537)
noreply at xfce.org
noreply at xfce.org
Sun Apr 21 18:47:37 CEST 2019
This is an automated email from the git hooks/post-receive script.
a n d r e p u s h e d a c o m m i t t o b r a n c h m a s t e r
in repository xfce/xfce4-settings.
commit d7ba62f33965e5ba0601fdb7ee13def9c6e4f1bf
Author: Andre Miranda <andreldm at xfce.org>
Date: Sun Apr 21 13:44:51 2019 -0300
Fix incremental sending from the clipboard manager (Bug #13537)
Credits to Cosimo Cecchi:
https://gitlab.gnome.org/GNOME/gnome-settings-daemon/commit/f6c9e9d098184ef6f1859a3221d6d0d51ed988e
---
xfsettingsd/clipboard-manager.c | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/xfsettingsd/clipboard-manager.c b/xfsettingsd/clipboard-manager.c
index 2218361..6c1de12 100644
--- a/xfsettingsd/clipboard-manager.c
+++ b/xfsettingsd/clipboard-manager.c
@@ -436,6 +436,8 @@ send_incrementally (GsdClipboardManager *manager,
data, items);
if (length == 0) {
+ clipboard_manager_watch_cb (manager, rdata->requestor, False,
+ PropertyChangeMask, NULL);
manager->priv->conversions = g_slist_remove (manager->priv->conversions, rdata);
conversion_free (rdata);
}
@@ -593,6 +595,11 @@ convert_clipboard_target (IncrConversion *rdata,
gdk_x11_display_error_trap_push (gdk_display_get_default ());
XGetWindowAttributes (manager->priv->display, rdata->requestor, &atts);
+
+ clipboard_manager_watch_cb (manager, rdata->requestor,
+ True, PropertyChangeMask,
+ NULL);
+
XSelectInput (manager->priv->display, rdata->requestor,
atts.your_event_mask | PropertyChangeMask);
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list