aboutsummaryrefslogtreecommitdiff
path: root/src/IconbarTool.hh
diff options
context:
space:
mode:
authorMark Tiefenbruck <mark@fluxbox.org>2021-07-06 22:56:26 (GMT)
committerMark Tiefenbruck <mark@fluxbox.org>2021-07-06 22:56:26 (GMT)
commitb0663bc167f34b9796f98406329317f7bee15b00 (patch)
tree24e59202b08ab96d7539f56d14aeb15617739658 /src/IconbarTool.hh
parentf76720d918d1a2c72811a6ec5b3a1fc4b52f768c (diff)
downloadfluxbox-b0663bc167f34b9796f98406329317f7bee15b00.zip
fluxbox-b0663bc167f34b9796f98406329317f7bee15b00.tar.bz2
Patch from Bo Simonsen.
Max size per client (setMaxSizePerClient) was computed for iconbar.alignment = Relative not taking into account that a fixed size can be given when iconbar.alignment = Left/Right. In a "recent" change, relative alignment was changed, to better handle items with long titles. This is breaking existing behavior, the new behavior is (with this commit) now denoted RelativeSmart.
Diffstat (limited to 'src/IconbarTool.hh')
-rw-r--r--src/IconbarTool.hh1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/IconbarTool.hh b/src/IconbarTool.hh
index a461ce5..df6d9a6 100644
--- a/src/IconbarTool.hh
+++ b/src/IconbarTool.hh
@@ -98,6 +98,7 @@ private:
98 /// add icons to the list 98 /// add icons to the list
99 void updateList(); 99 void updateList();
100 100
101 void updateMaxSizes(unsigned int width, unsigned int height);
101 /// called when the list emits a signal 102 /// called when the list emits a signal
102 void update(UpdateReason reason, Focusable *win); 103 void update(UpdateReason reason, Focusable *win);
103 104