KWin
unmanaged.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #ifndef KWIN_UNMANAGED_H
00022 #define KWIN_UNMANAGED_H
00023
00024 #include <netwm.h>
00025
00026 #include "toplevel.h"
00027
00028 namespace KWin
00029 {
00030
00031 class Unmanaged
00032 : public Toplevel
00033 {
00034 Q_OBJECT
00035 public:
00036 Unmanaged( Workspace *ws );
00037 bool windowEvent( XEvent* e );
00038 void release();
00039 bool track( Window w );
00040 static void deleteUnmanaged( Unmanaged* c, allowed_t );
00041 virtual int desktop() const;
00042 virtual QPoint clientPos() const;
00043 virtual QSize clientSize() const;
00044 protected:
00045 virtual void debug( kdbgstream& stream ) const;
00046 virtual bool shouldUnredirect() const;
00047 private:
00048 virtual ~Unmanaged();
00049
00050 void mapNotifyEvent( XMapEvent* e );
00051 void unmapNotifyEvent( XUnmapEvent*e );
00052 void configureNotifyEvent( XConfigureEvent* e );
00053 };
00054
00055 }
00056
00057 #endif