diff options
author | Mark Tiefenbruck <mark@fluxbox.org> | 2008-08-27 22:29:33 (GMT) |
---|---|---|
committer | Mark Tiefenbruck <mark@fluxbox.org> | 2008-08-27 22:29:33 (GMT) |
commit | 82047e6a391a12be9583168f28ac72c1154108d6 (patch) | |
tree | 68cc4865da7bdf95052907c6d8ce9cf0fb19c90b /src/Focusable.hh | |
parent | a2ec0c9bdd9ebcc713426a79209b9ca90b4db301 (diff) | |
download | fluxbox-82047e6a391a12be9583168f28ac72c1154108d6.zip fluxbox-82047e6a391a12be9583168f28ac72c1154108d6.tar.bz2 |
move some things from FluxboxWindow to WindowState
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 | ||