diff options
-rw-r--r-- | src/Toolbar.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Toolbar.cc b/src/Toolbar.cc index 86b5e5e..4f8804f 100644 --- a/src/Toolbar.cc +++ b/src/Toolbar.cc | |||
@@ -677,7 +677,7 @@ void Toolbar::setPlacement(Toolbar::Placement where) { | |||
677 | break; | 677 | break; |
678 | case RIGHTCENTER: | 678 | case RIGHTCENTER: |
679 | frame.x += head_w - static_cast<int>(frame.width) - bw*2; | 679 | frame.x += head_w - static_cast<int>(frame.width) - bw*2; |
680 | frame.y += (head_h - static_cast<int>(frame.height))/2 * bw; | 680 | frame.y += (head_h - static_cast<int>(frame.height))/2 - bw; |
681 | frame.x_hidden += static_cast<int>(frame.width) + bw - pixel; | 681 | frame.x_hidden += static_cast<int>(frame.width) + bw - pixel; |
682 | break; | 682 | break; |
683 | case RIGHTTOP: | 683 | case RIGHTTOP: |