[Xfce4-commits] [xfce/exo] 01/01: Fix cursor missing in search popup widget (bug #16068)

noreply at xfce.org noreply at xfce.org
Fri Nov 15 12:26:14 CET 2019


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

b   l   u   e   s   a   b   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/exo.

commit 543bc29794395b81b17c1b09608a80ec6ba6827b
Author: Theo Linkspfeifer <lastonestanding at tutanota.com>
Date:   Fri Nov 15 06:25:31 2019 -0500

    Fix cursor missing in search popup widget (bug #16068)
---
 exo/exo-private.c | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/exo/exo-private.c b/exo/exo-private.c
index a8e9a93..29a5d0b 100644
--- a/exo/exo-private.c
+++ b/exo/exo-private.c
@@ -62,16 +62,12 @@ _exo_gtk_widget_send_focus_change (GtkWidget *widget,
 
   g_object_ref (G_OBJECT (widget));
 
-  gtk_widget_set_can_focus (widget, in);
-
   fevent = gdk_event_new (GDK_FOCUS_CHANGE);
   fevent->focus_change.type = GDK_FOCUS_CHANGE;
   fevent->focus_change.window = g_object_ref (gtk_widget_get_window (widget));
   fevent->focus_change.in = in;
 
-  gtk_widget_event (widget, fevent);
-
-  g_object_notify (G_OBJECT (widget), "has-focus");
+  gtk_widget_send_focus_change (widget, fevent);
 
   g_object_unref (G_OBJECT (widget));
   gdk_event_free (fevent);

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list