Skip to content

Commit

Permalink
resolve after hide icon, icon overlap
Browse files Browse the repository at this point in the history
  • Loading branch information
qk committed Jan 19, 2018
1 parent b93ec64 commit 610c062
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions indicator-application/na-tray.c
Original file line number Diff line number Diff line change
Expand Up @@ -543,6 +543,11 @@ na_tray_expose_icon (GtkWidget *widget,

gtk_widget_get_allocation (widget, &allocation);

gboolean widget_show=gtk_widget_get_visible (widget);
if (!widget_show){
return;
}

#if GTK_CHECK_VERSION (3, 0, 0)
cairo_save (cr);
gdk_cairo_set_source_window (cr,
Expand Down

0 comments on commit 610c062

Please sign in to comment.