aboutsummaryrefslogtreecommitdiff
path: root/src/WinClient.hh
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2003-05-14 12:07:06 (GMT)
committerfluxgen <fluxgen>2003-05-14 12:07:06 (GMT)
commit9d5eb092fab89c34c8b672d64bab0bffd27f3091 (patch)
tree76b3a8d89f964c8870a649f570e9297784622f50 /src/WinClient.hh
parent860b70e5b65e0f6771442f7e5417440e23a5d1cd (diff)
downloadfluxbox-9d5eb092fab89c34c8b672d64bab0bffd27f3091.zip
fluxbox-9d5eb092fab89c34c8b672d64bab0bffd27f3091.tar.bz2
added screen accessor and removed client from window before we send signal
Diffstat (limited to 'src/WinClient.hh')
-rw-r--r--src/WinClient.hh8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/WinClient.hh b/src/WinClient.hh
index 46b4523..4d69ee6 100644
--- a/src/WinClient.hh
+++ b/src/WinClient.hh
@@ -19,7 +19,7 @@
19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20// DEALINGS IN THE SOFTWARE. 20// DEALINGS IN THE SOFTWARE.
21 21
22// $Id: WinClient.hh,v 1.4 2003/05/10 14:16:38 fluxgen Exp $ 22// $Id: WinClient.hh,v 1.5 2003/05/14 12:07:05 fluxgen Exp $
23 23
24#ifndef WINCLIENT_HH 24#ifndef WINCLIENT_HH
25#define WINCLIENT_HH 25#define WINCLIENT_HH
@@ -31,6 +31,8 @@
31#include <X11/Xutil.h> 31#include <X11/Xutil.h>
32#include <string> 32#include <string>
33 33
34class BScreen;
35
34/// Holds client window info 36/// Holds client window info
35class WinClient:public FbTk::FbWindow { 37class WinClient:public FbTk::FbWindow {
36public: 38public:
@@ -48,7 +50,8 @@ public:
48 bool getWMIconName(XTextProperty &textprop) const; 50 bool getWMIconName(XTextProperty &textprop) const;
49 void updateTitle(); 51 void updateTitle();
50 void updateIconTitle(); 52 void updateIconTitle();
51 53 BScreen &screen() { return m_screen; }
54 const BScreen &screen() const { return m_screen; }
52 /// notifies when this client dies 55 /// notifies when this client dies
53 FbTk::Subject &dieSig() { return m_diesig; } 56 FbTk::Subject &dieSig() { return m_diesig; }
54 57
@@ -109,6 +112,7 @@ private:
109 bool modal; 112 bool modal;
110 std::string m_title, m_icon_title; 113 std::string m_title, m_icon_title;
111 WinClientSubj m_diesig; 114 WinClientSubj m_diesig;
115 BScreen &m_screen;
112}; 116};
113 117
114#endif // WINCLIENT_HH 118#endif // WINCLIENT_HH