summaryrefslogtreecommitdiff
path: root/src/client.hh
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-02-03 08:47:57 +0000
committerDana Jansens <danakj@orodu.net>2003-02-03 08:47:57 +0000
commitedd539420796233d3f69e1cceaa0f491ffdb5c6a (patch)
treec01b844c0581288beeaeccfc2d872f76ec5d96ba /src/client.hh
parentcda0b1b8b759bb14cfe57a5e0f20a83c81230035 (diff)
add function to focus modal children
Diffstat (limited to 'src/client.hh')
-rw-r--r--src/client.hh6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/client.hh b/src/client.hh
index e66712c4..d3e3a9b0 100644
--- a/src/client.hh
+++ b/src/client.hh
@@ -472,6 +472,12 @@ private:
void internal_resize(Corner anchor, int w, int h, bool user = true,
int x = INT_MIN, int y = INT_MIN);
+ //! Attempts to focus a modal child of this window, recursively.
+ /*!
+ @return true if a modal child has been found and focused; otherwise, false.
+ */
+ bool focusModalChild();
+
public:
#ifndef SWIG
//! Constructs a new Client object around a specified window id