aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormarkt <markt>2007-01-07 18:39:12 (GMT)
committermarkt <markt>2007-01-07 18:39:12 (GMT)
commit186ebd58707a1850abfaccecd41b02c9a5f6cf91 (patch)
treebea8f44426e4a4737bb5513e6d659eb63eca7c61 /src
parenta53dabd36a1922fd2ce1371596690700e34d03f9 (diff)
downloadfluxbox_paul-186ebd58707a1850abfaccecd41b02c9a5f6cf91.zip
fluxbox_paul-186ebd58707a1850abfaccecd41b02c9a5f6cf91.tar.bz2
little cleanup
Diffstat (limited to 'src')
-rw-r--r--src/IconButton.cc1
-rw-r--r--src/IconbarTool.cc2
2 files changed, 0 insertions, 3 deletions
diff --git a/src/IconButton.cc b/src/IconButton.cc
index aaff5b8..eaae85e 100644
--- a/src/IconButton.cc
+++ b/src/IconButton.cc
@@ -255,7 +255,6 @@ void IconButton::update(FbTk::Subject *subj) {
255 FbTk::translateCoords(orientation(), iconx, icony, w, h); 255 FbTk::translateCoords(orientation(), iconx, icony, w, h);
256 FbTk::translatePosition(orientation(), iconx, icony, neww, newh, 0); 256 FbTk::translatePosition(orientation(), iconx, icony, neww, newh, 0);
257 257
258 neww = newh;
259 m_icon_window.moveResize(iconx, icony, neww, newh); 258 m_icon_window.moveResize(iconx, icony, neww, newh);
260 259
261 m_icon_pixmap.copy(m_win.iconPixmap().drawable(), DefaultDepth(display, screen), screen); 260 m_icon_pixmap.copy(m_win.iconPixmap().drawable(), DefaultDepth(display, screen), screen);
diff --git a/src/IconbarTool.cc b/src/IconbarTool.cc
index 86d7f51..ad4eeeb 100644
--- a/src/IconbarTool.cc
+++ b/src/IconbarTool.cc
@@ -559,8 +559,6 @@ void IconbarTool::update(FbTk::Subject *subj) {
559 deleteIcons(); 559 deleteIcons();
560 560
561 // ok, we got some signal that we need to update our iconbar container 561 // ok, we got some signal that we need to update our iconbar container
562 if (mode() == NONE)
563 return;
564 updateList(); 562 updateList();
565 563
566 // unlock container and update graphics 564 // unlock container and update graphics