fix Xmbfonts on multiple screens and external tabs showing from different workspaces on placement change
simonb simonb
3 files changed,
7 insertions(+),
4 deletions(-)
M
ChangeLog
→
ChangeLog
@@ -1,5 +1,10 @@
(Format: Year/Month/Day) Changes for 0.9.16: +*06/04/05: + * Fix tabs on other workspaces being shown on placement change (Simon) + + Fix XmbFonts for multiple screens. Still need to fix XFontImp, + it's quite a bit more convoluted. + FbWinFrame.cc FbTk/XmbFontImp.cc *06/04/04: * Rotated Xmb Fonts (Simon) - rotated when drawn. Probably not very efficient for
M
src/FbTk/XmbFontImp.cc
→
src/FbTk/XmbFontImp.cc
@@ -209,7 +209,6 @@ return;
} Display *dpy = App::instance()->display(); - Window rootwin = DefaultRootWindow(dpy); int xpos = x, ypos = y; unsigned int w = d.width();@@ -219,7 +218,7 @@ translateSize(orient, w, h);
untranslateCoords(orient, xpos, ypos, w, h); // not straight forward, we actually draw it elsewhere, then rotate it - FbTk::FbPixmap canvas(rootwin, w, h, 1); + FbTk::FbPixmap canvas(d.drawable(), w, h, 1); // create graphic context for our canvas FbTk::GContext font_gc(canvas);
M
src/FbWinFrame.cc
→
src/FbWinFrame.cc
@@ -412,9 +412,8 @@ renderTabContainer();
if (m_visible && m_use_tabs) { applyTabContainer(); m_tab_container.clear(); + m_tab_container.show(); } - if (m_use_tabs) - m_tab_container.show(); } if (m_tab_container.parent()->window() != m_screen.rootWindow().window()) {