all repos — fluxbox @ 0fea3e3c8640888e4ae6e76775f309f290134aab

custom fork of the fluxbox windowmanager

ShowDesktop should ignore everything on the desktop layer, not just windows of type Desktop
Mark Tiefenbruck mark@fluxbox.org
commit

0fea3e3c8640888e4ae6e76775f309f290134aab

parent

74df0fcda9d9a60e32d4bcc240564854e49731fe

1 files changed, 2 insertions(+), 1 deletions(-)

jump to
M src/WorkspaceCmd.ccsrc/WorkspaceCmd.cc

@@ -22,6 +22,7 @@ // DEALINGS IN THE SOFTWARE.

#include "WorkspaceCmd.hh" +#include "Layer.hh" #include "Workspace.hh" #include "Window.hh" #include "Screen.hh"

@@ -493,7 +494,7 @@ Workspace::Windows windows(screen->currentWorkspace()->windowList());

Workspace::Windows::iterator it = windows.begin(), it_end = windows.end(); for (; it != it_end; ++it) { - if ((*it)->getWindowType() != Focusable::TYPE_DESKTOP) { + if ((*it)->layerNum() < Layer::DESKTOP) { (*it)->iconify(); count++; }