changeset 3227:c470f281a025

Fixed y position of panel geometry
author unexist
date Tue, 10 Jul 2012 18:06:59 +0200
parents 1fddc6f6b891
children d4cb92fea8f5
files src/subtle/panel.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/subtle/panel.c	Tue Jul 10 15:55:35 2012 +0200
+++ b/src/subtle/panel.c	Tue Jul 10 18:06:59 2012 +0200
@@ -624,7 +624,7 @@
   /* Calculate panel geometry without style values */
   geom->x      = p->x + STYLE_LEFT((*s));
   geom->y      = p->flags & SUB_PANEL_BOTTOM ?
-    p->screen->geom.y + p->screen->geom.height - subtle->ph : subtle->ph;
+    p->screen->geom.y + p->screen->geom.height - subtle->ph : STYLE_TOP((*s));
   geom->width  = 0 == p->width ? 1 : p->width - STYLE_WIDTH((*s));
   geom->height = subtle->ph - STYLE_HEIGHT((*s));
 } /* }}} */