[Xfce4-commits] <xfce4-panel:master> Systray: Fix disappearing icons when drawing at 0, 0 (bug #7057).
Nick Schermer
noreply at xfce.org
Sat Apr 16 14:08:01 CEST 2011
Updating branch refs/heads/master
to 64243bb8388429a284bf74653fa1f2f1c1f03d70 (commit)
from e75f14db701b284516d3a995b9eb0a19dced1b08 (commit)
commit 64243bb8388429a284bf74653fa1f2f1c1f03d70
Author: Nick Schermer <nick at xfce.org>
Date: Sat Apr 16 14:06:35 2011 +0200
Systray: Fix disappearing icons when drawing at 0,0 (bug #7057).
plugins/systray/systray.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/plugins/systray/systray.c b/plugins/systray/systray.c
index 2124d55..4a2d23c 100644
--- a/plugins/systray/systray.c
+++ b/plugins/systray/systray.c
@@ -585,7 +585,7 @@ systray_plugin_box_expose_event_icon (GtkWidget *child,
alloc = &child->allocation;
/* skip hidden (see offscreen in box widget) icons */
- if (alloc->x > 0 && alloc->y > 0)
+ if (alloc->x > -1 && alloc->y > -1)
{
gdk_cairo_set_source_pixmap (cr, gtk_widget_get_window (child),
alloc->x, alloc->y);
More information about the Xfce4-commits
mailing list