diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-01-04 19:09:52 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-01-04 19:09:52 +0000 |
| commit | d13f021b8bb2a6b8e49f69a370409e79a7f02213 (patch) | |
| tree | 7d1f157d2b72b5527c8913323531bbac97f3c853 /src/client.hh | |
| parent | 69c257faa94334b8d19fc97292622499c43929db (diff) | |
add support for wm_window_role
Diffstat (limited to 'src/client.hh')
| -rw-r--r-- | src/client.hh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/client.hh b/src/client.hh index 41ca3dd2..724cf518 100644 --- a/src/client.hh +++ b/src/client.hh @@ -171,6 +171,8 @@ private: std::string _app_name; //! The class of the window, can used for grouping std::string _app_class; + //! The specified role of the window, used for identification + std::string _role; //! The type of window (what its function is) WindowType _type; @@ -376,9 +378,11 @@ public: inline const std::string &appName() const { return _app_name; } //! Returns the class of the window inline const std::string &appClass() const { return _app_class; } + //! Returns the program-specified role of the window + inline const std::string &role() const { return _role; } //! Returns if the window can be focused /*! - @return true if the window can receive focusl otherwise, false + @return true if the window can receive focus; otherwise, false */ inline bool canFocus() const { return _can_focus; } //! Returns if the window has indicated that it needs urgent attention |
