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
|
Q_OBJECT
|
||||||
public:
|
public:
|
||||||
Toplevel( Workspace *ws );
|
Toplevel( Workspace *ws );
|
||||||
virtual ~Toplevel();
|
|
||||||
Window handle() const;
|
Window handle() const;
|
||||||
Workspace* workspace() const;
|
Workspace* workspace() const;
|
||||||
QRect geometry() const;
|
QRect geometry() const;
|
||||||
|
@ -67,6 +66,7 @@ class Toplevel
|
||||||
QRegion damage() const;
|
QRegion damage() const;
|
||||||
void resetDamage( const QRect& r );
|
void resetDamage( const QRect& r );
|
||||||
protected:
|
protected:
|
||||||
|
virtual ~Toplevel();
|
||||||
void setHandle( Window id );
|
void setHandle( Window id );
|
||||||
void detectShape( Window id );
|
void detectShape( Window id );
|
||||||
void damageNotifyEvent( XDamageNotifyEvent* e );
|
void damageNotifyEvent( XDamageNotifyEvent* e );
|
||||||
|
|
|
@ -24,7 +24,6 @@ class Unmanaged
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
public:
|
public:
|
||||||
Unmanaged( Workspace *ws );
|
Unmanaged( Workspace *ws );
|
||||||
virtual ~Unmanaged();
|
|
||||||
bool windowEvent( XEvent* e );
|
bool windowEvent( XEvent* e );
|
||||||
void release();
|
void release();
|
||||||
bool track( Window w );
|
bool track( Window w );
|
||||||
|
@ -34,6 +33,7 @@ class Unmanaged
|
||||||
protected:
|
protected:
|
||||||
virtual void debug( kdbgstream& stream ) const;
|
virtual void debug( kdbgstream& stream ) const;
|
||||||
private:
|
private:
|
||||||
|
virtual ~Unmanaged(); // use release()
|
||||||
// handlers for X11 events
|
// handlers for X11 events
|
||||||
void mapNotifyEvent( XMapEvent* e );
|
void mapNotifyEvent( XMapEvent* e );
|
||||||
void unmapNotifyEvent( XUnmapEvent*e );
|
void unmapNotifyEvent( XUnmapEvent*e );
|
||||||
|
|
Loading…
Reference in a new issue