all repos — fluxbox @ 33db9b21e250d5f35f89bc2523a83525b33d7075

custom fork of the fluxbox windowmanager

"fixes" http://www.securityfocus.com/archive/1/382398/2004-11-24/2004-11-30/2
and all related bugreports elsewhere. "fixes" because i think the real problem
is in xft somewhere somehow, but i dont have any prove (yet).

thanx to Rob Stevens for informing us about that problem.
mathias mathias
commit

33db9b21e250d5f35f89bc2523a83525b33d7075

parent

b7eb3dbc933fbdc03a15bd5d5bd3793894b48fec

1 files changed, 11 insertions(+), 1 deletions(-)

jump to
M src/WinClient.ccsrc/WinClient.cc

@@ -314,7 +314,17 @@ }

void WinClient::updateTitle() { - m_title = Xutil::getWMName(window()); + // why 512? very very long wmnames seem to either + // crash fluxbox or to make it have high cpuload + // see also: + // http://www.securityfocus.com/archive/1/382398/2004-11-24/2004-11-30/2 + // + // TODO: - find out why this mostly happens when using xft-fonts + // - why other windowmanagers (pekwm/pwm3/openbox etc) are + // also influenced + // + // the limitation to 512 chars only avoids running in that trap + m_title = string(Xutil::getWMName(window()) ,0 , 512); } void WinClient::updateIconTitle() {