summaryrefslogtreecommitdiff
path: root/src/gui/chat.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/chat.h')
-rw-r--r--src/gui/chat.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/gui/chat.h b/src/gui/chat.h
index db2d9843..ad3d5e39 100644
--- a/src/gui/chat.h
+++ b/src/gui/chat.h
@@ -136,7 +136,12 @@ class ChatWindow : public Window, public gcn::ActionListener {
* Request focus.
*/
void requestFocus();
-
+
+ /**
+ * Checks wether ChatWindow is Focused or not
+ */
+ bool isFocused();
+
/*
* Determines wether to send a command or an ordinary message, then
* contructs packets & sends them
@@ -196,3 +201,4 @@ class ChatWindow : public Window, public gcn::ActionListener {
};
#endif
+