diff options
Diffstat (limited to 'src/WinClient.hh')
-rw-r--r-- | src/WinClient.hh | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/WinClient.hh b/src/WinClient.hh index 7d2c734..671b7d4 100644 --- a/src/WinClient.hh +++ b/src/WinClient.hh | |||
@@ -29,7 +29,6 @@ | |||
29 | #include "Subject.hh" | 29 | #include "Subject.hh" |
30 | #include "FbWindow.hh" | 30 | #include "FbWindow.hh" |
31 | #include "FbTk/FbString.hh" | 31 | #include "FbTk/FbString.hh" |
32 | #include "FbTk/ITypeAheadable.hh" | ||
33 | 32 | ||
34 | #include <X11/Xutil.h> | 33 | #include <X11/Xutil.h> |
35 | 34 | ||
@@ -37,8 +36,7 @@ class BScreen; | |||
37 | class Strut; | 36 | class Strut; |
38 | 37 | ||
39 | /// Holds client window info | 38 | /// Holds client window info |
40 | class WinClient: public Focusable, public FbTk::ITypeAheadable, | 39 | class WinClient: public Focusable, public FbTk::FbWindow { |
41 | public FbTk::FbWindow { | ||
42 | public: | 40 | public: |
43 | typedef std::list<WinClient *> TransientList; | 41 | typedef std::list<WinClient *> TransientList; |
44 | // this structure only contains 3 elements... the Motif 2.0 structure contains | 42 | // this structure only contains 3 elements... the Motif 2.0 structure contains |
@@ -117,8 +115,6 @@ public: | |||
117 | /// @return class member of class structure | 115 | /// @return class member of class structure |
118 | const std::string &getWMClassClass() const; | 116 | const std::string &getWMClassClass() const; |
119 | 117 | ||
120 | BScreen &screen() { return m_screen; } | ||
121 | const BScreen &screen() const { return m_screen; } | ||
122 | /// notifies when this client dies | 118 | /// notifies when this client dies |
123 | FbTk::Subject &dieSig() { return m_diesig; } | 119 | FbTk::Subject &dieSig() { return m_diesig; } |
124 | /// notifies when this client becomes focused | 120 | /// notifies when this client becomes focused |
@@ -145,8 +141,6 @@ public: | |||
145 | inline unsigned int maxWidth() const { return max_width; } | 141 | inline unsigned int maxWidth() const { return max_width; } |
146 | inline unsigned int maxHeight() const { return max_height; } | 142 | inline unsigned int maxHeight() const { return max_height; } |
147 | 143 | ||
148 | const std::string &iTypeString() const { return m_title; } | ||
149 | |||
150 | static const int PropBlackboxHintsElements = 5; | 144 | static const int PropBlackboxHintsElements = 5; |
151 | static const int PropMwmHintsElements = 3; | 145 | static const int PropMwmHintsElements = 3; |
152 | 146 | ||
@@ -200,7 +194,6 @@ private: | |||
200 | 194 | ||
201 | WinClientSubj m_diesig; | 195 | WinClientSubj m_diesig; |
202 | WinClientSubj m_focussig; | 196 | WinClientSubj m_focussig; |
203 | BScreen &m_screen; | ||
204 | 197 | ||
205 | Strut *m_strut; | 198 | Strut *m_strut; |
206 | // map transient_for X window to winclient transient | 199 | // map transient_for X window to winclient transient |