aboutsummaryrefslogtreecommitdiff
path: root/src/FbCommands.hh
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2004-04-22 21:12:34 (GMT)
committerfluxgen <fluxgen>2004-04-22 21:12:34 (GMT)
commitc5fb252a6f75c6a07a90ea49623de259db2cbeb4 (patch)
tree8e276570a7284219a240cb0e704f22e16d7a6958 /src/FbCommands.hh
parent1b38322d99a855c567c4c6d74aaaf6295c149a7b (diff)
downloadfluxbox-c5fb252a6f75c6a07a90ea49623de259db2cbeb4.zip
fluxbox-c5fb252a6f75c6a07a90ea49623de259db2cbeb4.tar.bz2
deiconify cmd, patch from Mathias Gumz
Diffstat (limited to 'src/FbCommands.hh')
-rw-r--r--src/FbCommands.hh26
1 files changed, 25 insertions, 1 deletions
diff --git a/src/FbCommands.hh b/src/FbCommands.hh
index f65869e..bc67610 100644
--- a/src/FbCommands.hh
+++ b/src/FbCommands.hh
@@ -19,7 +19,7 @@
19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20// DEALINGS IN THE SOFTWARE. 20// DEALINGS IN THE SOFTWARE.
21 21
22// $Id: FbCommands.hh,v 1.18 2004/03/16 18:44:40 fluxgen Exp $ 22// $Id: FbCommands.hh,v 1.19 2004/04/22 21:12:33 fluxgen Exp $
23 23
24// \file contains basic commands to restart, reconfigure, execute command and exit fluxbox 24// \file contains basic commands to restart, reconfigure, execute command and exit fluxbox
25 25
@@ -135,4 +135,28 @@ private:
135 const std::string m_keybind; 135 const std::string m_keybind;
136}; 136};
137 137
138/// deiconifies iconified windows
139class DeiconifyCmd: public FbTk::Command {
140public:
141 enum Mode {
142 LAST,
143 LASTWORKSPACE,
144 ALL,
145 ALLWORKSPACE
146 };
147
148 enum Destination {
149 CURRENT, /// deiconification on current workspace
150 ORIGIN, /// deiconification on origin workspace, change to that ws
151 ORIGINQUIET /// deiconification on origin workspace, dont change ws
152 };
153
154 DeiconifyCmd(const Mode mode= LASTWORKSPACE,
155 const Destination dest= CURRENT);
156 void execute();
157private:
158 Mode m_mode;
159 Destination m_dest;
160};
161
138#endif // FBCOMMANDS_HH 162#endif // FBCOMMANDS_HH