summaryrefslogtreecommitdiff
path: root/src/client.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/client.hh')
-rw-r--r--src/client.hh3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/client.hh b/src/client.hh
index 963cff52..067ccccc 100644
--- a/src/client.hh
+++ b/src/client.hh
@@ -442,6 +442,9 @@ public:
//! Returns the functions that the user can perform on the window
inline FunctionFlags funtions() const { return _functions; }
+ //! Return the client this window is transient for
+ inline OBClient *transientFor() const { return _transient_for; }
+
//! Returns if the window is modal
/*!
If the window is modal, then no other windows that it is related to can get