diff options
author | mathias <mathias> | 2007-04-20 20:26:57 (GMT) |
---|---|---|
committer | mathias <mathias> | 2007-04-20 20:26:57 (GMT) |
commit | d267acc8e0a87d16700cc8e5ee4c149b85bb4fc7 (patch) | |
tree | 622c53ab84e08a1591dfeb45a283a0ae92d71808 | |
parent | 3980e3c40a0ca4da702e53368b63c923824d224c (diff) | |
download | fluxbox_lack-d267acc8e0a87d16700cc8e5ee4c149b85bb4fc7.zip fluxbox_lack-d267acc8e0a87d16700cc8e5ee4c149b85bb4fc7.tar.bz2 |
fix slit onhead with BOTTOMLEFT placement, patch from Tomas Janousek <tomi at nomi dot cz>
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | src/Slit.cc | 2 |
2 files changed, 4 insertions, 1 deletions
@@ -1,5 +1,8 @@ | |||
1 | (Format: Year/Month/Day) | 1 | (Format: Year/Month/Day) |
2 | Changes for 1.0.0: | 2 | Changes for 1.0.0: |
3 | *07/04/20: | ||
4 | * Fix slit.onhead with BOTTOMLEFT placement.(Thanks Tomas Janousek <tomi@nomi.cz>) | ||
5 | Slit.cc | ||
3 | *07/04/19: | 6 | *07/04/19: |
4 | * Fixed crash when CustomMenu command doesn't point to a file (Mark) | 7 | * Fixed crash when CustomMenu command doesn't point to a file (Mark) |
5 | FbCommands.cc | 8 | 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() { | |||
847 | 847 | ||
848 | case BOTTOMLEFT: | 848 | case BOTTOMLEFT: |
849 | frame.x = head_x; | 849 | frame.x = head_x; |
850 | frame.y = head_h - frame.height - border_width*2; | 850 | frame.y = head_y + head_h - frame.height - border_width*2; |
851 | if (direction() == VERTICAL) { | 851 | if (direction() == VERTICAL) { |
852 | frame.x_hidden = head_x + bevel_width - | 852 | frame.x_hidden = head_x + bevel_width - |
853 | border_width - frame.width; | 853 | border_width - frame.width; |