diff options
author | fluxgen <fluxgen> | 2002-10-23 22:02:13 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2002-10-23 22:02:13 (GMT) |
commit | 537d41c96e7bede9423598c91952c53d0a402374 (patch) | |
tree | 63b0a7028c2858df1b4b98597ff8b26b8dce9c68 /src/Windowmenu.hh | |
parent | 7934b75a9d13ea6bb100595d1a2c4d81c75b4144 (diff) | |
download | fluxbox-537d41c96e7bede9423598c91952c53d0a402374.zip fluxbox-537d41c96e7bede9423598c91952c53d0a402374.tar.bz2 |
minor cleaning
Diffstat (limited to 'src/Windowmenu.hh')
-rw-r--r-- | src/Windowmenu.hh | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/src/Windowmenu.hh b/src/Windowmenu.hh index 55dd90b..8d5f1ef 100644 --- a/src/Windowmenu.hh +++ b/src/Windowmenu.hh | |||
@@ -52,25 +52,24 @@ private: | |||
52 | 52 | ||
53 | class SendtoWorkspacemenu : public Basemenu { | 53 | class SendtoWorkspacemenu : public Basemenu { |
54 | public: | 54 | public: |
55 | SendtoWorkspacemenu(Windowmenu *); | 55 | SendtoWorkspacemenu(FluxboxWindow &win); |
56 | inline Windowmenu *getWindowMenu() const { return windowmenu; } | ||
57 | void update(); | 56 | void update(); |
58 | 57 | ||
59 | virtual void show(); | 58 | virtual void show(); |
59 | FluxboxWindow &fbwin() { return m_fbwindow; } | ||
60 | protected: | 60 | protected: |
61 | virtual void itemSelected(int button, unsigned int index); | 61 | virtual void itemSelected(int button, unsigned int index); |
62 | |||
63 | private: | 62 | private: |
64 | Windowmenu *windowmenu; | 63 | FluxboxWindow &m_fbwindow; |
65 | |||
66 | }; | 64 | }; |
67 | 65 | ||
68 | class SendGroupToWorkspacemenu : public SendtoWorkspacemenu { | 66 | class SendGroupToWorkspacemenu : public SendtoWorkspacemenu { |
69 | public: | 67 | public: |
70 | SendGroupToWorkspacemenu(Windowmenu *winmenu); | 68 | SendGroupToWorkspacemenu(FluxboxWindow &win); |
71 | 69 | ||
72 | protected: | 70 | protected: |
73 | virtual void itemSelected(int button, unsigned int index); | 71 | virtual void itemSelected(int button, unsigned int index); |
72 | |||
74 | }; | 73 | }; |
75 | 74 | ||
76 | SendtoWorkspacemenu sendToMenu; | 75 | SendtoWorkspacemenu sendToMenu; |