diff options
Diffstat (limited to 'src/Window.cc')
-rw-r--r-- | src/Window.cc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/Window.cc b/src/Window.cc index 56bf796..ca42c96 100644 --- a/src/Window.cc +++ b/src/Window.cc | |||
@@ -49,6 +49,7 @@ | |||
49 | #include "FbTk/KeyUtil.hh" | 49 | #include "FbTk/KeyUtil.hh" |
50 | #include "FbTk/SimpleCommand.hh" | 50 | #include "FbTk/SimpleCommand.hh" |
51 | #include "FbTk/Select2nd.hh" | 51 | #include "FbTk/Select2nd.hh" |
52 | #include "FbTk/Transparent.hh" | ||
52 | 53 | ||
53 | #ifdef HAVE_CONFIG_H | 54 | #ifdef HAVE_CONFIG_H |
54 | #include "config.h" | 55 | #include "config.h" |
@@ -1503,6 +1504,13 @@ void FluxboxWindow::show() { | |||
1503 | frame().show(); | 1504 | frame().show(); |
1504 | } | 1505 | } |
1505 | 1506 | ||
1507 | void FluxboxWindow::toggleIconic() { | ||
1508 | if (isIconic()) | ||
1509 | deiconify(); | ||
1510 | else | ||
1511 | iconify(); | ||
1512 | } | ||
1513 | |||
1506 | /** | 1514 | /** |
1507 | Unmaps the window and removes it from workspace list | 1515 | Unmaps the window and removes it from workspace list |
1508 | */ | 1516 | */ |