diff options
author | Mark Tiefenbruck <mark@fluxbox.org> | 2008-08-30 22:36:53 (GMT) |
---|---|---|
committer | Mark Tiefenbruck <mark@fluxbox.org> | 2008-08-30 22:36:53 (GMT) |
commit | 41b2e0ced41580d377ea04a3c1c19408f2d8db13 (patch) | |
tree | 276612e9d808863bed0210fa59ce8af24425148d /src/MenuCreator.cc | |
parent | fd0389d2e1c28e7dcd1507f76ed37eb8366c4af0 (diff) | |
download | fluxbox-41b2e0ced41580d377ea04a3c1c19408f2d8db13.zip fluxbox-41b2e0ced41580d377ea04a3c1c19408f2d8db13.tar.bz2 |
use FbMenu::window instead of WindowCmd<>::window for displaying items in the window menu
Diffstat (limited to 'src/MenuCreator.cc')
-rw-r--r-- | src/MenuCreator.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/MenuCreator.cc b/src/MenuCreator.cc index db9aca2..8f9b9a7 100644 --- a/src/MenuCreator.cc +++ b/src/MenuCreator.cc | |||
@@ -168,14 +168,14 @@ private: | |||
168 | class MenuContext: public LayerObject { | 168 | class MenuContext: public LayerObject { |
169 | public: | 169 | public: |
170 | void moveToLayer(int layer_number) { | 170 | void moveToLayer(int layer_number) { |
171 | if (WindowCmd<void>::window() == 0) | 171 | if (FbMenu::window() == 0) |
172 | return; | 172 | return; |
173 | WindowCmd<void>::window()->moveToLayer(layer_number); | 173 | FbMenu::window()->moveToLayer(layer_number); |
174 | } | 174 | } |
175 | int layerNumber() const { | 175 | int layerNumber() const { |
176 | if (WindowCmd<void>::window() == 0) | 176 | if (FbMenu::window() == 0) |
177 | return -1; | 177 | return -1; |
178 | return WindowCmd<void>::window()->layerItem().getLayerNum(); | 178 | return FbMenu::window()->layerItem().getLayerNum(); |
179 | } | 179 | } |
180 | 180 | ||
181 | }; | 181 | }; |