diff options
author | fluxgen <fluxgen> | 2003-06-15 18:36:40 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2003-06-15 18:36:40 (GMT) |
commit | 2b1bc6565eb2f0a3787df94a248eb565f3722085 (patch) | |
tree | d940d76cf4c8e32e752f07f9a3fce6426934787a | |
parent | c182d9846fbc5fa8a7a3686e7062919b214b1dfc (diff) | |
download | fluxbox_pavel-2b1bc6565eb2f0a3787df94a248eb565f3722085.zip fluxbox_pavel-2b1bc6565eb2f0a3787df94a248eb565f3722085.tar.bz2 |
updateWMClassHint
-rw-r--r-- | src/WinClient.hh | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/src/WinClient.hh b/src/WinClient.hh index ebf542d..30d6ff5 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.6 2003/06/12 15:13:23 rathnor Exp $ | 22 | // $Id: WinClient.hh,v 1.7 2003/06/15 18:36:40 fluxgen Exp $ |
23 | 23 | ||
24 | #ifndef WINCLIENT_HH | 24 | #ifndef WINCLIENT_HH |
25 | #define WINCLIENT_HH | 25 | #define WINCLIENT_HH |
@@ -48,8 +48,13 @@ public: | |||
48 | bool getAttrib(XWindowAttributes &attr) const; | 48 | bool getAttrib(XWindowAttributes &attr) const; |
49 | bool getWMName(XTextProperty &textprop) const; | 49 | bool getWMName(XTextProperty &textprop) const; |
50 | bool getWMIconName(XTextProperty &textprop) const; | 50 | bool getWMIconName(XTextProperty &textprop) const; |
51 | const std::string getWMClassName() const; // name member of class structure | 51 | /// @return name member of class structure |
52 | const std::string getWMClassClass() const; // class member of class structure | 52 | const std::string &getWMClassName() const; |
53 | /// @return class member of class structure | ||
54 | const std::string &getWMClassClass() const; | ||
55 | /// updates from wm class hints | ||
56 | void updateWMClassHint(); | ||
57 | |||
53 | inline const std::string getTitle() const { return m_title; } | 58 | inline const std::string getTitle() const { return m_title; } |
54 | void updateTitle(); | 59 | void updateTitle(); |
55 | void updateIconTitle(); | 60 | void updateIconTitle(); |
@@ -116,6 +121,7 @@ private: | |||
116 | std::string m_title, m_icon_title; | 121 | std::string m_title, m_icon_title; |
117 | WinClientSubj m_diesig; | 122 | WinClientSubj m_diesig; |
118 | BScreen &m_screen; | 123 | BScreen &m_screen; |
124 | std::string m_class_name, m_instance_name; | ||
119 | }; | 125 | }; |
120 | 126 | ||
121 | #endif // WINCLIENT_HH | 127 | #endif // WINCLIENT_HH |