From 48ccb49ab0f3288185bd3c23dd8426e3729c3bbc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Revol?= Date: Thu, 30 Oct 2008 23:04:40 +0000 Subject: [PATCH] Added TODO on SetTitle... the rect gets invalidated even when nothing is visible... flickers apps on top with TitleSpectrumAnalyzer in SoundPlay for ex... git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28388 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/servers/app/DefaultDecorator.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/servers/app/DefaultDecorator.cpp b/src/servers/app/DefaultDecorator.cpp index b4423bc01d..70cfad13fe 100644 --- a/src/servers/app/DefaultDecorator.cpp +++ b/src/servers/app/DefaultDecorator.cpp @@ -137,6 +137,8 @@ DefaultDecorator::~DefaultDecorator() void DefaultDecorator::SetTitle(const char* string, BRegion* updateRegion) { + // TODO: we could be much smarter about the update region + BRect rect = TabRect(); Decorator::SetTitle(string);