diff options
author | Thomas Lübking <thomas.luebking@gmail.com> | 2016-09-13 19:06:40 (GMT) |
---|---|---|
committer | Mathias Gumz <akira@fluxbox.org> | 2016-09-21 18:52:14 (GMT) |
commit | c69d5afb64b3ce90190cd5e0515020afb48a8b39 (patch) | |
tree | 854d625157c86643e815e4df2bbc834c09a91464 /src/IconButton.hh | |
parent | bc1ad61a7d6f10debc5781032e428f297a6b2fad (diff) | |
download | fluxbox-c69d5afb64b3ce90190cd5e0515020afb48a8b39.zip fluxbox-c69d5afb64b3ce90190cd5e0515020afb48a8b39.tar.bz2 |
show tooltips for tabs
on the run (yes sucks, sorry) fixes a bug where windows were not
activated on hovering the tab (for focus-follows-mouse policies)
REQUEST: 95
The iconbar already shows tooltips and I doubt the claim that (untabbed)
titlebars are "often" too short for the window title.
Diffstat (limited to 'src/IconButton.hh')
-rw-r--r-- | src/IconButton.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/IconButton.hh b/src/IconButton.hh index d3cb3d8..4bb57e7 100644 --- a/src/IconButton.hh +++ b/src/IconButton.hh | |||
@@ -66,6 +66,7 @@ public: | |||
66 | bool setOrientation(FbTk::Orientation orient); | 66 | bool setOrientation(FbTk::Orientation orient); |
67 | 67 | ||
68 | virtual unsigned int preferredWidth() const; | 68 | virtual unsigned int preferredWidth() const; |
69 | void showTooltip(); | ||
69 | 70 | ||
70 | const FbTk::Signal<> &titleChanged() { return m_title_changed; } | 71 | const FbTk::Signal<> &titleChanged() { return m_title_changed; } |
71 | 72 | ||
@@ -74,7 +75,6 @@ protected: | |||
74 | private: | 75 | private: |
75 | void reconfigAndClear(); | 76 | void reconfigAndClear(); |
76 | void setupWindow(); | 77 | void setupWindow(); |
77 | void showTooltip(); | ||
78 | 78 | ||
79 | /// Refresh all pixmaps and windows | 79 | /// Refresh all pixmaps and windows |
80 | /// @param setup Wether to setup window again. | 80 | /// @param setup Wether to setup window again. |