all repos — fluxbox @ 0497afae19f49050f4a11716d79d3d01e869e4d3

custom fork of the fluxbox windowmanager

fix Xmbfonts on multiple screens
and external tabs showing from different workspaces on placement change
simonb simonb
commit

0497afae19f49050f4a11716d79d3d01e869e4d3

parent

42719701dc17b5acef41223fe0237b9154cb3f0a

3 files changed, 7 insertions(+), 4 deletions(-)

jump to
M ChangeLogChangeLog

@@ -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.ccsrc/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.ccsrc/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()) {