diff options
Diffstat (limited to 'src/Focusable.hh')
-rw-r--r-- | src/Focusable.hh | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/Focusable.hh b/src/Focusable.hh index 007aea9..453a114 100644 --- a/src/Focusable.hh +++ b/src/Focusable.hh | |||
@@ -45,16 +45,6 @@ public: | |||
45 | m_attentionsig(*this) { } | 45 | m_attentionsig(*this) { } |
46 | virtual ~Focusable() { } | 46 | virtual ~Focusable() { } |
47 | 47 | ||
48 | enum WindowType { | ||
49 | TYPE_NORMAL, | ||
50 | TYPE_DOCK, | ||
51 | TYPE_DESKTOP, | ||
52 | TYPE_SPLASH, | ||
53 | TYPE_DIALOG, | ||
54 | TYPE_MENU, | ||
55 | TYPE_TOOLBAR | ||
56 | }; | ||
57 | |||
58 | /** | 48 | /** |
59 | * Take focus. | 49 | * Take focus. |
60 | * @return true if the focuable took focus | 50 | * @return true if the focuable took focus |
@@ -96,9 +86,6 @@ public: | |||
96 | /// @return wm role string (for pattern matching) | 86 | /// @return wm role string (for pattern matching) |
97 | virtual std::string getWMRole() const { return "Focusable"; } | 87 | virtual std::string getWMRole() const { return "Focusable"; } |
98 | 88 | ||
99 | /// @return window type | ||
100 | virtual WindowType getWindowType() const { return TYPE_NORMAL; } | ||
101 | |||
102 | /// @return whether this window is a transient (for pattern matching) | 89 | /// @return whether this window is a transient (for pattern matching) |
103 | virtual bool isTransient() const { return false; } | 90 | virtual bool isTransient() const { return false; } |
104 | 91 | ||