Changelog for Openbox:
-2.2.0
+
+2.2.1:
+ * Fix bug with mutltibyte fonts being realy tiny. (Ben Jansens)
+
+ * Fix menu redraw bug when dragging them off-screen or (Scott Moynes)
+ under other menus, with Xft fonts.
+
+ * Build fixes for xftlsfonts and for openbox on (Marius Nita)
+ redhat systems.
+
+2.2.0:
* Allow changing the appearance of buttons with xbm (Scott Moynes)
bitmap files. Can be disabled with
--disable-bitmap-buttons.
* Added style textures for (Scott Moynes)
window.button.pressed.focus/unfocus:
-2.1.2
+
* Fixed window menu placement bug (Scott Moynes)
-2.1.1:
* A build fix for xftlsfonts. (Scott Moynes)
* Add a configuration menu for changing Xft font (Ben Jansens)
dnl configure.in for Openbox
dnl Initialize autoconf and automake
AC_INIT(src/blackbox.cc)
-AM_INIT_AUTOMAKE(openbox,2.2.0,no-define)
+AM_INIT_AUTOMAKE(openbox,2.2.1,no-define)
dnl Determine default prefix
test x$prefix = "xNONE" && prefix="$ac_default_prefix"
break;
}
+ XClearWindow(display, menu.title);
style->t_font->drawString(menu.title, dx, menu.bevel_w,
style->t_text, text);
}
dooppsel = False;
}
+#ifdef XFT
+ if (dotext)
+ XClearArea(display, menu.frame, text_x, text_y , text_w, text_h, False);
+#endif // XFT
+
if (dohilite && highlight && (menu.hilite_pixmap != ParentRelative)) {
if (menu.hilite_pixmap)
XCopyArea(display, menu.hilite_pixmap, menu.frame,
string BFont::buildMultibyteXlfd(void) const {
string weight = _bold ? "bold" : "medium";
string slant = _italic ? "i" : "r";
- string sizestr= _size ? itostring(_size) : "*";
+ string sizestr= _size ? itostring(_size * 10) : "*";
return _family + ','
+ "-*-*-" + weight + "-" + slant + "-*-*-*-" + sizestr +
BlackboxWindow *focused = blackbox->getFocusedWindow(),
*next = focused;
- if (focused) {
- // if window is not on this screen, ignore it
- if (focused->getScreen()->getScreenNumber() != getScreenNumber())
- focused = (BlackboxWindow*) 0;
- }
-
if (focused &&
focused->getScreen()->getScreenNumber() == getScreenNumber() &&
current_workspace->getCount() > 1) {
- // next is the next window to receive focus, current is a place holder
do {
next = current_workspace->getPrevWindowInList(next);
} while (next != focused && ! next->setInputFocus());
int pos = frame.bevel_w * 2; // this is modified by doJustify()
style->doJustify(t, pos, frame.clock_w, frame.bevel_w * 4);
+
+#ifdef XFT
+ XClearWindow(display, frame.clock);
+#endif // XFT
+
style->font->drawString(frame.clock, pos, 1, style->c_text, t);
}
}
return;
}
+#ifdef XFT
+ redraw = true;
+#endif // XFT
+
if (redraw)
XClearWindow(display, frame.window_label);
void Toolbar::redrawWorkspaceLabel(bool redraw) {
const string& name = screen->getCurrentWorkspace()->getName();
+#ifdef XFT
+ redraw = true;
+#endif // XFT
+
if (redraw)
XClearWindow(display, frame.workspace_label);
my = top_edge;
else if (my > bottom_edge)
my = bottom_edge;
-
+
if (my + windowmenu->getHeight() > screen->getHeight())
my = screen->getHeight() - windowmenu->getHeight() -
(screen->getBorderWidth() * 2);
-
+
windowmenu->move(mx, my);
windowmenu->show();
XRaiseWindow(blackbox->getXDisplay(), windowmenu->getWindowID());
cout << val.u.b;
break;
-#ifdef XFT_UTF8
- case XftTypeMatrix:
- cout << "xx(" << val.u.m->xx << ") ";
- cout << "xy(" << val.u.m->xy << ") ";
- cout << "yx(" << val.u.m->yx << ") ";
- cout << "yy(" << val.u.m->yy << ")";
+ default:
+ cout << "unable to display";
break;
-#endif
}
} while ((vallist = vallist->next));
cout << endl;