# HG changeset patch # User Casey Harkins # Date 1193593994 0 # Node ID cb086fef7ca115fbe9c7e1081f5406ccd35360d8 # Parent 5af17c5a4a12afcd611ae3e05cc7d4460ae5844c Consider buddy list obscured if it is partially obscured in addition to fully obscured. This will cause a partially obscured buddy list to get raised when clicking on the docklet rather than hiding it. Fixes #2740. diff -r 5af17c5a4a12 -r cb086fef7ca1 pidgin/gtkblist.c --- a/pidgin/gtkblist.c Sun Oct 28 16:51:48 2007 +0000 +++ b/pidgin/gtkblist.c Sun Oct 28 17:53:14 2007 +0000 @@ -174,9 +174,12 @@ ***************************************************/ static gboolean gtk_blist_visibility_cb(GtkWidget *w, GdkEventVisibility *event, gpointer data) { - if (event->state == GDK_VISIBILITY_FULLY_OBSCURED) + if (event->state == GDK_VISIBILITY_FULLY_OBSCURED || + event->state == GDK_VISIBILITY_PARTIAL) { + gtk_blist_obscured = TRUE; - else if (gtk_blist_obscured) { + + } else if (gtk_blist_obscured) { gtk_blist_obscured = FALSE; pidgin_blist_refresh_timer(purple_get_blist()); }