diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/IconButton.cc | 1 | ||||
-rw-r--r-- | src/IconbarTool.cc | 2 |
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 |