aboutsummaryrefslogtreecommitdiff
path: root/src/Window.cc
diff options
context:
space:
mode:
authorThomas Lübking <thomas.luebking@gmail.com>2016-07-24 14:40:03 (GMT)
committerMathias Gumz <akira@fluxbox.org>2016-08-26 05:33:44 (GMT)
commit3bde5c8aee16f7f33e3ce7b9058fded916fe2369 (patch)
tree8c7791003a4c0196c7261db68a07313a9740bf1f /src/Window.cc
parent10e3f10b55fbd8f3ff6793a3993b8ee55f3192a2 (diff)
downloadfluxbox-3bde5c8aee16f7f33e3ce7b9058fded916fe2369.zip
fluxbox-3bde5c8aee16f7f33e3ce7b9058fded916fe2369.tar.bz2
Improve stretching (RELATIVE) toolbar items
The available space is distributed reg. the preferred width of items (spacers and the iconbar ;-) instead of evenly. The preferred width of the iconbar is calculated from its buttons. This allows to align the iconbar using spacers and makes better use of the available space
Diffstat (limited to 'src/Window.cc')
-rw-r--r--src/Window.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Window.cc b/src/Window.cc
index f6fd139..871c7e8 100644
--- a/src/Window.cc
+++ b/src/Window.cc
@@ -2804,6 +2804,7 @@ void FluxboxWindow::setTitle(const std::string& title, Focusable &client) {
2804 frame().setFocusTitle(title); 2804 frame().setFocusTitle(title);
2805 // relay title to others that display the focus title 2805 // relay title to others that display the focus title
2806 titleSig().emit(title, *this); 2806 titleSig().emit(title, *this);
2807 frame().tabcontainer().repositionItems();
2807} 2808}
2808 2809
2809void FluxboxWindow::frameExtentChanged() { 2810void FluxboxWindow::frameExtentChanged() {