aboutsummaryrefslogtreecommitdiff
path: root/src/WinClient.hh
diff options
context:
space:
mode:
authormarkt <markt>2007-03-21 22:10:22 (GMT)
committermarkt <markt>2007-03-21 22:10:22 (GMT)
commit53fff0d24b996f01d7426e44420c158500a4d311 (patch)
tree3bee2182e4458e89dba2732594fbc2f71add1331 /src/WinClient.hh
parent51bcee666516ffdbe205b0e74ca209f82fcb1f31 (diff)
downloadfluxbox-53fff0d24b996f01d7426e44420c158500a4d311.zip
fluxbox-53fff0d24b996f01d7426e44420c158500a4d311.tar.bz2
added TypeAheadFocus command
Diffstat (limited to 'src/WinClient.hh')
-rw-r--r--src/WinClient.hh5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/WinClient.hh b/src/WinClient.hh
index 0082bb0..7d2c734 100644
--- a/src/WinClient.hh
+++ b/src/WinClient.hh
@@ -29,6 +29,7 @@
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"
32 33
33#include <X11/Xutil.h> 34#include <X11/Xutil.h>
34 35
@@ -36,7 +37,8 @@ class BScreen;
36class Strut; 37class Strut;
37 38
38/// Holds client window info 39/// Holds client window info
39class WinClient: public Focusable, public FbTk::FbWindow { 40class WinClient: public Focusable, public FbTk::ITypeAheadable,
41 public FbTk::FbWindow {
40public: 42public:
41 typedef std::list<WinClient *> TransientList; 43 typedef std::list<WinClient *> TransientList;
42 // this structure only contains 3 elements... the Motif 2.0 structure contains 44 // this structure only contains 3 elements... the Motif 2.0 structure contains
@@ -143,6 +145,7 @@ public:
143 inline unsigned int maxWidth() const { return max_width; } 145 inline unsigned int maxWidth() const { return max_width; }
144 inline unsigned int maxHeight() const { return max_height; } 146 inline unsigned int maxHeight() const { return max_height; }
145 147
148 const std::string &iTypeString() const { return m_title; }
146 149
147 static const int PropBlackboxHintsElements = 5; 150 static const int PropBlackboxHintsElements = 5;
148 static const int PropMwmHintsElements = 3; 151 static const int PropMwmHintsElements = 3;