Mailinglist Archive: libyui-devel (8 mails)

< Previous Next >
Re: [libyui-devel] busy and normal cursor
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Attached patch solves the problem.

Thanks Martin for the suggestion.

If you want I can commit that also with other gtk
pull requests.

Angelo
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.14 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlL5TMcACgkQqEs9DA4DquAjUQCfdoHw1QPWYOmIPI/Ita5yy0AI
kb4AoJHN4Fue21v/94Y/2tzTBx/R+Kzh
=QEV6
-----END PGP SIGNATURE-----
diff --git a/src/YGDialog.cc b/src/YGDialog.cc
index 57222ad..42553ad 100644
--- a/src/YGDialog.cc
+++ b/src/YGDialog.cc
@@ -183,7 +183,11 @@ public:
g_object_ref (G_OBJECT (m_busyCursor));
}
if (!m_isBusy)
+ {
+ GdkDisplay *display = gtk_widget_get_display
(m_widget);
gdk_window_set_cursor
(gtk_widget_get_window(m_widget), m_busyCursor);
+ gdk_display_sync(display);
+ }
m_isBusy = true;
}

< Previous Next >
List Navigation