diff options
| author | Dana Jansens <danakj@orodu.net> | 2002-04-14 11:37:22 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2002-04-14 11:37:22 +0000 |
| commit | 351f1d03315b84887b7532c35bdd8a49bdce1d43 (patch) | |
| tree | fe1b7051d28b77d9934ace86881261099ec532f7 /src/Window.cc | |
| parent | d00ef145828941dc15c31bd7c3fc2f69f29c2955 (diff) | |
Using some references instead of pointers for the menus.
Diffstat (limited to 'src/Window.cc')
| -rw-r--r-- | src/Window.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Window.cc b/src/Window.cc index 0a033932..54cba742 100644 --- a/src/Window.cc +++ b/src/Window.cc @@ -152,7 +152,7 @@ OpenboxWindow::OpenboxWindow(Openbox *b, Window w, BScreen *s) { lastButtonPressTime = 0; image_ctrl = screen->getImageControl(); - timer = new BTimer(openbox, this); + timer = new BTimer(*openbox, *this); timer->setTimeout(openbox->getAutoRaiseDelay()); timer->fireOnce(True); @@ -280,7 +280,7 @@ OpenboxWindow::OpenboxWindow(Openbox *b, Window w, BScreen *s) { XMapSubwindows(display, frame.window); if (decorations.menu) - windowmenu = new Windowmenu(this); + windowmenu = new Windowmenu(*this); decorate(); |
