fix Xmbfonts on multiple screens
and external tabs showing from different workspaces on placement change
This commit is contained in:
parent
42719701dc
commit
0497afae19
3 changed files with 7 additions and 4 deletions
|
@ -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
|
||||
|
|
|
@ -209,7 +209,6 @@ void XmbFontImp::drawText(const FbDrawable &d, int screen, GC main_gc, const cha
|
|||
}
|
||||
|
||||
Display *dpy = App::instance()->display();
|
||||
Window rootwin = DefaultRootWindow(dpy);
|
||||
|
||||
int xpos = x, ypos = y;
|
||||
unsigned int w = d.width();
|
||||
|
@ -219,7 +218,7 @@ void XmbFontImp::drawText(const FbDrawable &d, int screen, GC main_gc, const cha
|
|||
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);
|
||||
|
|
|
@ -412,9 +412,8 @@ void FbWinFrame::alignTabs() {
|
|||
if (m_visible && m_use_tabs) {
|
||||
applyTabContainer();
|
||||
m_tab_container.clear();
|
||||
}
|
||||
if (m_use_tabs)
|
||||
m_tab_container.show();
|
||||
}
|
||||
}
|
||||
|
||||
if (m_tab_container.parent()->window() != m_screen.rootWindow().window()) {
|
||||
|
|
Loading…
Reference in a new issue