fluxbox fork with a slight change to maximized windows
118ea25f9d
Detecting very long window titles is done via FbTk::TextUtils::doAlignment(). Instead of removing one char from the title at a time to see if it fits into a given 'max_width', we now use a binary-search like approach to get faster to the right value. This massively improves the speed for windows with (arbitrary) long window titles (see bug #1090, javascript document.title = new Array(4999).join("."); leads to massive waiting for fluxbox to detect that this window has a very long title). In addition to that Xft returns 'wrapped' shorts ('integer overflows') for long texts: XGlpyhInfo.xOff is declared as signed short, it's able to hold ~32k pixels. A monospace font with font-size 10 produces an integer overflow after 3276 chars / glyphs, thus rendering the check if (text_width < max_width) { /* ... */ } pointless and leading rendering the whole title. By calculating some kind of upper limit for a pseudo-wide glyph ("WW") and strictly cutting off the input string at that limit prevents this issue. |
||
---|---|---|
3rd/vim | ||
data | ||
doc | ||
nls | ||
src | ||
util | ||
.gitignore | ||
acinclude.m4 | ||
AUTHORS | ||
autogen.sh | ||
ChangeLog | ||
configure.ac | ||
COPYING | ||
Doxyfile | ||
INSTALL | ||
Makefile.am | ||
NEWS | ||
README | ||
stamp-h.in | ||
TODO | ||
version.h.in |
Fluxbox is a windowmanager for X that was based on the Blackbox 0.61.1 code. It is very light on resources and easy to handle but yet full of features to make an easy, and extremely fast, desktop experience. Read INSTALL to read about building and installing fluxbox. Read NEWS to see whats new in this release, for copyright information see COPYING. For more information go to: http://fluxbox.org/ Thanks: Blackbox team People at #fluxbox on the irc.freenode.net irc-network. And all the people who sent bugfixes/patches and helped us making Fluxbox a better application, see AUTHORS for a incomplete list of people who helped fluxbox.