summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Slit.cc24
1 files changed, 13 insertions, 11 deletions
diff --git a/src/Slit.cc b/src/Slit.cc
index a6a76c3..c565867 100644
--- a/src/Slit.cc
+++ b/src/Slit.cc
@@ -22,7 +22,7 @@
22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23// DEALINGS IN THE SOFTWARE. 23// DEALINGS IN THE SOFTWARE.
24 24
25// $Id: Slit.cc,v 1.33 2003/01/12 23:52:37 fluxgen Exp $ 25// $Id: Slit.cc,v 1.34 2003/02/17 12:53:21 fluxgen Exp $
26 26
27#include "Slit.hh" 27#include "Slit.hh"
28 28
@@ -226,16 +226,17 @@ private:
226 226
227}; // End anonymous namespace 227}; // End anonymous namespace
228 228
229Slit::Slit(BScreen &scr, const char *filename):m_screen(&scr), timer(this), 229Slit::Slit(BScreen &scr, const char *filename):
230 slitmenu(*scr.menuTheme(), 230 m_screen(&scr), timer(this),
231 scr.getScreenNumber(), 231 slitmenu(*scr.menuTheme(),
232 *scr.getImageControl()), 232 scr.getScreenNumber(),
233 placement_menu(*scr.menuTheme(), 233 *scr.getImageControl()),
234 scr.getScreenNumber(), 234 placement_menu(*scr.menuTheme(),
235 *scr.getImageControl()), 235 scr.getScreenNumber(),
236 clientlist_menu(*scr.menuTheme(), 236 *scr.getImageControl()),
237 scr.getScreenNumber(), 237 clientlist_menu(*scr.menuTheme(),
238 *scr.getImageControl()) { 238 scr.getScreenNumber(),
239 *scr.getImageControl()) {
239 240
240 // default placement and direction 241 // default placement and direction
241 m_direction = HORIZONTAL; 242 m_direction = HORIZONTAL;
@@ -474,6 +475,7 @@ void Slit::removeClient(SlitClient *client, bool remap, bool destroy) {
474 // Destructive removal? 475 // Destructive removal?
475 if (destroy) 476 if (destroy)
476 delete client; 477 delete client;
478
477 updateClientmenu(); 479 updateClientmenu();
478} 480}
479 481