aboutsummaryrefslogtreecommitdiff
path: root/src/WorkspaceCmd.cc
diff options
context:
space:
mode:
authorPavel Labath <pavelo@centrum.sk>2011-08-15 21:03:57 (GMT)
committerPavel Labath <pavelo@centrum.sk>2011-08-16 08:01:19 (GMT)
commite49f8991e37b8eb25f1f8596d2a7446224a5a905 (patch)
treecf78a2e07d001e8c570e09603655b53d79e95e86 /src/WorkspaceCmd.cc
parent377ebd9c1dcad6573902f3020d3e33f5f23786ae (diff)
downloadfluxbox_pavel-e49f8991e37b8eb25f1f8596d2a7446224a5a905.zip
fluxbox_pavel-e49f8991e37b8eb25f1f8596d2a7446224a5a905.tar.bz2
Move declarations of Resource enums to a separate file
The reason for this is that I need to access those enums from fluxbox-update_configs and I don't want to #include and link everything in src. I also merged Slit::Placement, Toolbar::Placement and FbWinFrame::TabPlacement into one enum.
Diffstat (limited to 'src/WorkspaceCmd.cc')
-rw-r--r--src/WorkspaceCmd.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/WorkspaceCmd.cc b/src/WorkspaceCmd.cc
index 34c8f9a..43ba57c 100644
--- a/src/WorkspaceCmd.cc
+++ b/src/WorkspaceCmd.cc
@@ -509,7 +509,7 @@ void ShowDesktopCmd::execute() {
509 for (; it != it_end; ++it) { 509 for (; it != it_end; ++it) {
510 if (!(*it)->fbwindow()->isIconic() && ((*it)->fbwindow()->isStuck() || 510 if (!(*it)->fbwindow()->isIconic() && ((*it)->fbwindow()->isStuck() ||
511 (*it)->fbwindow()->workspaceNumber() == space) && 511 (*it)->fbwindow()->workspaceNumber() == space) &&
512 (*it)->fbwindow()->layerNum() < ResourceLayer::DESKTOP) { 512 (*it)->fbwindow()->layerNum() < LAYERDESKTOP) {
513 (*it)->fbwindow()->iconify(); 513 (*it)->fbwindow()->iconify();
514 count++; 514 count++;
515 } 515 }