diff options
author | Mathias Gumz <akira at fluxbox dot org> | 2010-09-11 15:09:07 (GMT) |
---|---|---|
committer | Mathias Gumz <akira at fluxbox dot org> | 2010-09-11 15:09:07 (GMT) |
commit | faa4c978885ceacfb75b0088e8c5a362a41794f6 (patch) | |
tree | 600e09fafca10e702150abac9e852f8aa6ef38c3 /src/Window.cc | |
parent | 4e2c7e2167a0e0efbfc73c1b226eaafa808736ee (diff) | |
download | fluxbox-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.cc | 4 |
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 | ||
3366 | FbTk::FbString FluxboxWindow::getTextProperty(Atom prop) const { | ||
3367 | return (m_client ? m_client->getTextProperty(prop) : Focusable::getTextProperty(prop)); | ||
3368 | } | ||
3369 | |||
3366 | bool FluxboxWindow::isTransient() const { | 3370 | bool FluxboxWindow::isTransient() const { |
3367 | return (m_client && m_client->isTransient()); | 3371 | return (m_client && m_client->isTransient()); |
3368 | } | 3372 | } |