Unmanaged clients should be also only deleted using special functions.
svn path=/branches/work/kwin_composite/; revision=623830
This commit is contained in:
parent
44e0b1dca2
commit
921d8d4f22
2 changed files with 2 additions and 2 deletions
|
@ -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 );
|
||||
|
|
|
@ -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 );
|
||||
|
|
Loading…
Reference in a new issue