parent
a982506a75
commit
7c6272e088
|
@ -10,7 +10,6 @@ Copyright (C) 1999, 2000 Matthias Ettrich <ettrich@kde.org>
|
|||
#include <stdlib.h>
|
||||
#include <qwhatsthis.h>
|
||||
#include <qdatastream.h>
|
||||
#include <kwin.h>
|
||||
#include <kapp.h>
|
||||
#include <dcopclient.h>
|
||||
|
||||
|
@ -29,6 +28,10 @@ Copyright (C) 1999, 2000 Matthias Ettrich <ettrich@kde.org>
|
|||
#include <X11/keysymdef.h>
|
||||
#include <X11/extensions/shape.h>
|
||||
|
||||
const int XIconicState = IconicState;
|
||||
#undef IconicState
|
||||
|
||||
#include <kwin.h>
|
||||
#include <kapp.h>
|
||||
|
||||
extern Time kwin_time;
|
||||
|
@ -872,7 +875,7 @@ void Workspace::iconifyOrDeiconifyTransientsOf( Client* c )
|
|||
if ( (*it)->transientFor() == c->window()
|
||||
&& !(*it)->isIconified()
|
||||
&& !(*it)->isShade() ) {
|
||||
(*it)->setMappingState( IconicState );
|
||||
(*it)->setMappingState( XIconicState );
|
||||
(*it)->hide();
|
||||
iconifyOrDeiconifyTransientsOf( (*it) );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue