diff options
Diffstat (limited to 'src/WorkspaceMenu.cc')
-rw-r--r-- | src/WorkspaceMenu.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/WorkspaceMenu.cc b/src/WorkspaceMenu.cc index 1e3dc40..c3dfd9a 100644 --- a/src/WorkspaceMenu.cc +++ b/src/WorkspaceMenu.cc | |||
@@ -24,12 +24,12 @@ | |||
24 | #include "WorkspaceMenu.hh" | 24 | #include "WorkspaceMenu.hh" |
25 | 25 | ||
26 | #include "Screen.hh" | 26 | #include "Screen.hh" |
27 | #include "fluxbox.hh" | ||
28 | #include "Workspace.hh" | 27 | #include "Workspace.hh" |
29 | #include "WorkspaceCmd.hh" | 28 | #include "WorkspaceCmd.hh" |
30 | #include "MenuCreator.hh" | 29 | #include "MenuCreator.hh" |
31 | #include "CommandParser.hh" | 30 | #include "CommandParser.hh" |
32 | #include "FbCommands.hh" | 31 | #include "FbCommands.hh" |
32 | #include "Layer.hh" | ||
33 | 33 | ||
34 | #include "FbTk/I18n.hh" | 34 | #include "FbTk/I18n.hh" |
35 | #include "FbTk/SimpleCommand.hh" | 35 | #include "FbTk/SimpleCommand.hh" |
@@ -57,8 +57,7 @@ | |||
57 | WorkspaceMenu::WorkspaceMenu(BScreen &screen): | 57 | WorkspaceMenu::WorkspaceMenu(BScreen &screen): |
58 | FbMenu(screen.menuTheme(), | 58 | FbMenu(screen.menuTheme(), |
59 | screen.imageControl(), | 59 | screen.imageControl(), |
60 | *screen.layerManager(). | 60 | *screen.layerManager().getLayer(Layer::MENU)) { |
61 | getLayer(Fluxbox::instance()->getMenuLayer())) { | ||
62 | 61 | ||
63 | 62 | ||
64 | init(screen); | 63 | init(screen); |