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/Focusable.hh | |
parent | 4e2c7e2167a0e0efbfc73c1b226eaafa808736ee (diff) | |
download | fluxbox_pavel-faa4c978885ceacfb75b0088e8c5a362a41794f6.zip fluxbox_pavel-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/Focusable.hh')
-rw-r--r-- | src/Focusable.hh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Focusable.hh b/src/Focusable.hh index 47f14d3..4583a62 100644 --- a/src/Focusable.hh +++ b/src/Focusable.hh | |||
@@ -88,6 +88,8 @@ public: | |||
88 | /// @return wm role string (for pattern matching) | 88 | /// @return wm role string (for pattern matching) |
89 | virtual std::string getWMRole() const { return "Focusable"; } | 89 | virtual std::string getWMRole() const { return "Focusable"; } |
90 | 90 | ||
91 | virtual FbTk::FbString getTextProperty(Atom prop) const { return ""; } | ||
92 | |||
91 | /// @return whether this window is a transient (for pattern matching) | 93 | /// @return whether this window is a transient (for pattern matching) |
92 | virtual bool isTransient() const { return false; } | 94 | virtual bool isTransient() const { return false; } |
93 | 95 | ||