[Xfce4-commits] <xfce4-panel:andrzejr/deskbar-tasklist> tasklist-widget: fixed 1px offset in the vertical mode (when panel settings dialog is open).

Andrzej noreply at xfce.org
Mon Dec 12 19:48:02 CET 2011


Updating branch refs/heads/andrzejr/deskbar-tasklist
         to 0f9aaef68c9ab794caa851507756af5ac956d791 (commit)
       from 60fa87d6dafedda1afb11f425a1055ca75b70d49 (commit)

commit 0f9aaef68c9ab794caa851507756af5ac956d791
Author: Andrzej <ndrwrdck at gmail.com>
Date:   Tue Dec 13 03:45:08 2011 +0900

    tasklist-widget: fixed 1px offset in the vertical mode (when panel settings dialog is open).

 plugins/tasklist/tasklist-widget.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/plugins/tasklist/tasklist-widget.c b/plugins/tasklist/tasklist-widget.c
index 2f31ba0..27eec87 100644
--- a/plugins/tasklist/tasklist-widget.c
+++ b/plugins/tasklist/tasklist-widget.c
@@ -1057,7 +1057,7 @@ xfce_tasklist_size_allocate (GtkWidget     *widget,
 
           if (xfce_tasklist_vertical (tasklist))
             /* lay out buttons right to left in the vertical mode */
-            child_alloc.y = area.height - y - h;
+            child_alloc.y = 2 * area.y + area.height - y - h;
           else
             child_alloc.y = y;
           child_alloc.x = x;


More information about the Xfce4-commits mailing list