From a3a59fedc00c23acd7561d66455bd97e6f014fd0 Mon Sep 17 00:00:00 2001 From: fluxgen Date: Fri, 13 Aug 2004 12:39:02 +0000 Subject: fixed slow resize of xmms playlist, we called setupWindow in XA_WM_NORMAL_HINTS even when didnt have to --- src/Window.cc | 58 ++++++++++++++++++++++++++++++++++++++++++---------------- 1 file changed, 42 insertions(+), 16 deletions(-) diff --git a/src/Window.cc b/src/Window.cc index e97a821..2528a8c 100644 --- a/src/Window.cc +++ b/src/Window.cc @@ -22,7 +22,7 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: Window.cc,v 1.295 2004/08/10 19:18:48 fluxgen Exp $ +// $Id: Window.cc,v 1.296 2004/08/13 12:39:02 fluxgen Exp $ #include "Window.hh" @@ -301,7 +301,7 @@ FluxboxWindow::FluxboxWindow(WinClient &client, FbWinFrameTheme &tm, FluxboxWindow::~FluxboxWindow() { #ifdef DEBUG - cerr<<__FILE__<<"("<<__LINE__<<"): starting ~FluxboxWindow("<haveShape() && event.type == Fluxbox::instance()->shapeEventbase() + ShapeNotify) { +#ifdef DEBUG + cerr<<"ShapeNotify("<kind != ShapeBounding) @@ -2243,13 +2252,29 @@ void FluxboxWindow::propertyNotifyEvent(WinClient &client, Atom atom) { break; case XA_WM_NORMAL_HINTS: { +#ifdef DEBUG + cerr<<"XA_WM_NORMAL_HINTS("<