From d267acc8e0a87d16700cc8e5ee4c149b85bb4fc7 Mon Sep 17 00:00:00 2001 From: mathias Date: Fri, 20 Apr 2007 20:26:57 +0000 Subject: fix slit onhead with BOTTOMLEFT placement, patch from Tomas Janousek --- ChangeLog | 3 +++ src/Slit.cc | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index bf7d664..b2c2b13 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ (Format: Year/Month/Day) Changes for 1.0.0: +*07/04/20: + * Fix slit.onhead with BOTTOMLEFT placement.(Thanks Tomas Janousek ) + Slit.cc *07/04/19: * Fixed crash when CustomMenu command doesn't point to a file (Mark) FbCommands.cc diff --git a/src/Slit.cc b/src/Slit.cc index 564523a..fbab1e6 100644 --- a/src/Slit.cc +++ b/src/Slit.cc @@ -847,7 +847,7 @@ void Slit::reposition() { case BOTTOMLEFT: frame.x = head_x; - frame.y = head_h - frame.height - border_width*2; + frame.y = head_y + head_h - frame.height - border_width*2; if (direction() == VERTICAL) { frame.x_hidden = head_x + bevel_width - border_width - frame.width; -- cgit v0.11.2