aboutsummaryrefslogtreecommitdiff
path: root/src/IconBar.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/IconBar.cc')
-rw-r--r--src/IconBar.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/IconBar.cc b/src/IconBar.cc
index 03c8e85..266eb7c 100644
--- a/src/IconBar.cc
+++ b/src/IconBar.cc
@@ -19,7 +19,7 @@
19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20// DEALINGS IN THE SOFTWARE. 20// DEALINGS IN THE SOFTWARE.
21 21
22// $Id: IconBar.cc,v 1.34 2003/05/15 11:17:27 fluxgen Exp $ 22// $Id: IconBar.cc,v 1.35 2003/05/15 12:00:43 fluxgen Exp $
23 23
24#include "IconBar.hh" 24#include "IconBar.hh"
25 25
@@ -191,7 +191,7 @@ void IconBar::decorate(Window win) {
191 //!! TODO iconbar border width style 191 //!! TODO iconbar border width style
192 XSetWindowBorderWidth(m_display, win, 1); 192 XSetWindowBorderWidth(m_display, win, 1);
193 XSetWindowBorder(m_display, win, BlackPixel(FbTk::App::instance()->display(), 193 XSetWindowBorder(m_display, win, BlackPixel(FbTk::App::instance()->display(),
194 screen().getScreenNumber())); 194 screen().screenNumber()));
195 if (m_focus_pm) 195 if (m_focus_pm)
196 XSetWindowBackgroundPixmap(m_display, win, m_focus_pm); 196 XSetWindowBackgroundPixmap(m_display, win, m_focus_pm);
197 else 197 else
@@ -294,7 +294,7 @@ Window IconBar::createIconWindow(FluxboxWindow *fluxboxwin, Window parent) {
294 attrib.background_pixmap = None; 294 attrib.background_pixmap = None;
295 attrib.background_pixel = attrib.border_pixel = 295 attrib.background_pixel = attrib.border_pixel =
296 BlackPixel(m_display, 296 BlackPixel(m_display,
297 screen().getScreenNumber()); 297 screen().screenNumber());
298 // fluxboxwin->screen().getWindowStyle()->tab.border_color.pixel(); 298 // fluxboxwin->screen().getWindowStyle()->tab.border_color.pixel();
299 attrib.colormap = fluxboxwin->screen().rootWindow().colormap(); 299 attrib.colormap = fluxboxwin->screen().rootWindow().colormap();
300 attrib.override_redirect = True; 300 attrib.override_redirect = True;
@@ -347,7 +347,7 @@ void IconBar::draw(const IconBarObj * const obj, int width) const {
347 347
348 m_font.drawText( 348 m_font.drawText(
349 iconwin, 349 iconwin,
350 screen().getScreenNumber(), 350 screen().screenNumber(),
351 screen().winFrameTheme().labelTextFocusGC(), 351 screen().winFrameTheme().labelTextFocusGC(),
352 fluxboxwin->iconTitle().c_str(), newlen, 352 fluxboxwin->iconTitle().c_str(), newlen,
353 dx, dy, m_vertical); 353 dx, dy, m_vertical);