[Xfce4-commits] <xfce4-panel:master> Panel: Fix incorrect 1px offset in dnd highlight.

Nick Schermer noreply at xfce.org
Fri Dec 30 20:46:03 CET 2011


Updating branch refs/heads/master
         to c84590a2bfb8c2b6752785ee5d47c176e85a7a94 (commit)
       from 3b45e57d8c51b67b588f6a8f66863b23bcf19536 (commit)

commit c84590a2bfb8c2b6752785ee5d47c176e85a7a94
Author: Nick Schermer <nick at xfce.org>
Date:   Fri Dec 30 20:44:26 2011 +0100

    Panel: Fix incorrect 1px offset in dnd highlight.

 panel/panel-itembar.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/panel/panel-itembar.c b/panel/panel-itembar.c
index fbd42bc..15ef62b 100644
--- a/panel/panel-itembar.c
+++ b/panel/panel-itembar.c
@@ -688,8 +688,8 @@ panel_itembar_expose_event (GtkWidget      *widget,
     {
       row_size = itembar->size * itembar->nrows;
 
-      rect.x = itembar->highlight_x - 1;
-      rect.y = itembar->highlight_y - 1;
+      rect.x = itembar->highlight_x;
+      rect.y = itembar->highlight_y;
 
       if (IS_HORIZONTAL (itembar))
         {


More information about the Xfce4-commits mailing list