all repos — fluxbox @ d85fb9bdadda1cc976d8c47d5393ee0725461612

custom fork of the fluxbox windowmanager

Updated DrawString
fluxgen fluxgen
commit

d85fb9bdadda1cc976d8c47d5393ee0725461612

parent

be57c0510d8b974f60644d425138d818097bd5b0

1 files changed, 3 insertions(+), 3 deletions(-)

jump to
M src/Tab.ccsrc/Tab.cc

@@ -327,11 +327,11 @@ if ((m_win->screen->getTabPlacement() == PLeft ||

m_win->screen->getTabPlacement() == PRight) && (!m_win->isShaded() && m_win->screen->isTabRotateVertical())) { - tabtext_w = XRotTextWidth(m_win->screen->getWindowStyle()->tab.rot_font, + tabtext_w = Misc::XRotTextWidth(m_win->screen->getWindowStyle()->tab.rot_font, m_win->client.title, m_win->client.title_len); tabtext_w += (m_win->frame.bevel_w * 4); - DrawRotString(m_display, m_tabwin, gc, + Misc::DrawRotString(m_display, m_tabwin, gc, m_win->screen->getWindowStyle()->tab.rot_font, m_win->screen->getWindowStyle()->tab.font.justify, tabtext_w, m_size_w, m_size_h,

@@ -351,7 +351,7 @@ m_win->client.title, m_win->client.title_len);

} tabtext_w += (m_win->frame.bevel_w * 4); - DrawString(m_display, m_tabwin, gc, + Misc::DrawString(m_display, m_tabwin, gc, &m_win->screen->getWindowStyle()->tab.font, tabtext_w, m_size_w, m_win->frame.bevel_w, m_win->client.title);