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/WinClient.hh | |
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/WinClient.hh')
-rw-r--r-- | src/WinClient.hh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/WinClient.hh b/src/WinClient.hh index ebe61a5..157278e 100644 --- a/src/WinClient.hh +++ b/src/WinClient.hh | |||
@@ -96,6 +96,7 @@ public: | |||
96 | std::string getWMRole() const; | 96 | std::string getWMRole() const; |
97 | WindowState::WindowType getWindowType() const { return m_window_type; } | 97 | WindowState::WindowType getWindowType() const { return m_window_type; } |
98 | void setWindowType(WindowState::WindowType type) { m_window_type = type; } | 98 | void setWindowType(WindowState::WindowType type) { m_window_type = type; } |
99 | FbTk::FbString getTextProperty(Atom prop) const { return FbTk::FbWindow::textProperty(prop); } | ||
99 | 100 | ||
100 | WinClient *transientFor() { return transient_for; } | 101 | WinClient *transientFor() { return transient_for; } |
101 | const WinClient *transientFor() const { return transient_for; } | 102 | const WinClient *transientFor() const { return transient_for; } |