diff options
author | simonb <simonb> | 2007-01-07 11:55:14 (GMT) |
---|---|---|
committer | simonb <simonb> | 2007-01-07 11:55:14 (GMT) |
commit | 1cc7b60aa2c2e7a26f9ff6f1461ca0b8a97be8de (patch) | |
tree | 1de2b149b23e589a36c81bd2aa51092db7b6e190 /src/Window.cc | |
parent | cfd33dd7a8f392253d8af9f418d86dc3083fc27d (diff) | |
download | fluxbox-1cc7b60aa2c2e7a26f9ff6f1461ca0b8a97be8de.zip fluxbox-1cc7b60aa2c2e7a26f9ff6f1461ca0b8a97be8de.tar.bz2 |
per-window transparency, including apps and menu support, plus some
infrastructure and related changes. Thanks for original patch from
Julien Trolet, dmxen at sourceforge dot net
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 | */ |