Unmanaged clients should be also only deleted using special functions.

svn path=/branches/work/kwin_composite/; revision=623830
icc-effect-5.14.5
Luboš Luňák 2007-01-15 15:42:32 +00:00
parent 44e0b1dca2
commit 921d8d4f22
2 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,6 @@ class Toplevel
Q_OBJECT
public:
Toplevel( Workspace *ws );
virtual ~Toplevel();
Window handle() const;
Workspace* workspace() const;
QRect geometry() const;
@ -67,6 +66,7 @@ class Toplevel
QRegion damage() const;
void resetDamage( const QRect& r );
protected:
virtual ~Toplevel();
void setHandle( Window id );
void detectShape( Window id );
void damageNotifyEvent( XDamageNotifyEvent* e );

View File

@ -24,7 +24,6 @@ class Unmanaged
Q_OBJECT
public:
Unmanaged( Workspace *ws );
virtual ~Unmanaged();
bool windowEvent( XEvent* e );
void release();
bool track( Window w );
@ -34,6 +33,7 @@ class Unmanaged
protected:
virtual void debug( kdbgstream& stream ) const;
private:
virtual ~Unmanaged(); // use release()
// handlers for X11 events
void mapNotifyEvent( XMapEvent* e );
void unmapNotifyEvent( XUnmapEvent*e );