This is an automated email from the git hooks/post-receive script.

andre pushed a 
commit to branch 
master
in repository xfce/xfce4-settings.

commit d7ba62f33965e5ba0601fdb7ee13def9c6e4f1bf
Author: Andre Miranda <[email protected]>
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.
_______________________________________________
Xfce4-commits mailing list
[email protected]
https://mail.xfce.org/mailman/listinfo/xfce4-commits

Reply via email to