aboutsummaryrefslogtreecommitdiff
path: root/src/Toolbar.cc
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2003-08-24 23:15:02 (GMT)
committerfluxgen <fluxgen>2003-08-24 23:15:02 (GMT)
commitb4331b03fe54599b42ba62399bbef00dd2b8334b (patch)
tree5b7364394dfc86c98e4d654ab73083b53bc00c22 /src/Toolbar.cc
parent531e9894993314814bea71491447c47262469a6d (diff)
downloadfluxbox-b4331b03fe54599b42ba62399bbef00dd2b8334b.zip
fluxbox-b4331b03fe54599b42ba62399bbef00dd2b8334b.tar.bz2
just listen to screen size changes
Diffstat (limited to 'src/Toolbar.cc')
-rw-r--r--src/Toolbar.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/Toolbar.cc b/src/Toolbar.cc
index b9c9ab5..180aa4b 100644
--- a/src/Toolbar.cc
+++ b/src/Toolbar.cc
@@ -22,7 +22,7 @@
22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23// DEALINGS IN THE SOFTWARE. 23// DEALINGS IN THE SOFTWARE.
24 24
25// $Id: Toolbar.cc,v 1.114 2003/08/24 13:17:00 fluxgen Exp $ 25// $Id: Toolbar.cc,v 1.115 2003/08/24 23:15:02 fluxgen Exp $
26 26
27#include "Toolbar.hh" 27#include "Toolbar.hh"
28 28
@@ -264,8 +264,7 @@ Toolbar::Toolbar(BScreen &scrn, FbTk::XLayer &layer, FbTk::Menu &menu, size_t wi
264 264
265 // we need to get notified when the theme is reloaded 265 // we need to get notified when the theme is reloaded
266 m_theme.reconfigSig().attach(this); 266 m_theme.reconfigSig().attach(this);
267 // listen to screen reconfigure 267 // listen to screen size changes
268 screen().reconfigureSig().attach(this);
269 screen().resizeSig().attach(this); 268 screen().resizeSig().attach(this);
270 269
271 moveToLayer((*m_rc_layernum).getNum()); 270 moveToLayer((*m_rc_layernum).getNum());