summaryrefslogtreecommitdiff
path: root/src/gui/widgets/window.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/window.h')
-rw-r--r--src/gui/widgets/window.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/widgets/window.h b/src/gui/widgets/window.h
index 02f58d2a8..bf9bd935f 100644
--- a/src/gui/widgets/window.h
+++ b/src/gui/widgets/window.h
@@ -414,6 +414,9 @@ class Window : public gcn::Window,
void enableVisibleSound(bool b)
{ mPlayVisibleSound = b; }
+ bool isWindowVisible() const A_WARN_UNUSED
+ { return mVisible; }
+
protected:
bool canMove() const A_WARN_UNUSED;