aboutsummaryrefslogtreecommitdiff
path: root/src/Window.cc
diff options
context:
space:
mode:
authorMathias Gumz <akira at fluxbox dot org>2010-09-11 15:09:07 (GMT)
committerMathias Gumz <akira at fluxbox dot org>2010-09-11 15:09:07 (GMT)
commitfaa4c978885ceacfb75b0088e8c5a362a41794f6 (patch)
tree600e09fafca10e702150abac9e852f8aa6ef38c3 /src/Window.cc
parent4e2c7e2167a0e0efbfc73c1b226eaafa808736ee (diff)
downloadfluxbox-faa4c978885ceacfb75b0088e8c5a362a41794f6.zip
fluxbox-faa4c978885ceacfb75b0088e8c5a362a41794f6.tar.bz2
added 'SetXProp' action and (@PROP=foo) clientpattern
these two allow 'tagging' of arbitrary windows with 'tags' (or 'labels'). such 'tagged' windows can then be used in ':NextWindow (@PROP=foo)' commands to quickly cycle through a subset of available windows. since the 'tags' are applied as real xproperties to a window they survive a restart of fluxbox or even another windowmanager. the user can also set the tags by using xprop(1). the next step regarding the UI should be to visualize the tags of a window.
Diffstat (limited to 'src/Window.cc')
-rw-r--r--src/Window.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Window.cc b/src/Window.cc
index 5f64705..1837cee 100644
--- a/src/Window.cc
+++ b/src/Window.cc
@@ -3363,6 +3363,10 @@ FbTk::FbString FluxboxWindow::getWMRole() const {
3363 return (m_client ? m_client->getWMRole() : "FluxboxWindow"); 3363 return (m_client ? m_client->getWMRole() : "FluxboxWindow");
3364} 3364}
3365 3365
3366FbTk::FbString FluxboxWindow::getTextProperty(Atom prop) const {
3367 return (m_client ? m_client->getTextProperty(prop) : Focusable::getTextProperty(prop));
3368}
3369
3366bool FluxboxWindow::isTransient() const { 3370bool FluxboxWindow::isTransient() const {
3367 return (m_client && m_client->isTransient()); 3371 return (m_client && m_client->isTransient());
3368} 3372}