From cf23bd927cdee5b3951eca7459165f9fdcd6e1a6 Mon Sep 17 00:00:00 2001 From: Matthias Ettrich Date: Fri, 12 Jan 2001 01:20:07 +0000 Subject: [PATCH] minor iconify/deiconify fix (previous commit broke w2k plugin) svn path=/trunk/kdebase/kwin/; revision=77557 --- client.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/client.cpp b/client.cpp index fd2421ecf9..df21e2406b 100644 --- a/client.cpp +++ b/client.cpp @@ -1566,8 +1566,8 @@ void Client::show() { if ( isIconified() && ( !isTransient() || mainClient() == this ) ) animateIconifyOrDeiconify( FALSE ); - QWidget::show(); setMappingState( NormalState ); + QWidget::show(); windowWrapper()->map(); } @@ -1701,13 +1701,13 @@ void Client::iconify() hide(); return; } + setMappingState( IconicState ); Events::raise( Events::Iconify ); - + if ( (!isTransient() || mainClient() == this ) && isVisible() ) animateIconifyOrDeiconify( TRUE ); hide(); - setMappingState( IconicState ); workspace()->iconifyOrDeiconifyTransientsOf( this ); }