summaryrefslogtreecommitdiff
path: root/src/Window.cc
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2002-04-14 13:58:17 +0000
committerDana Jansens <danakj@orodu.net>2002-04-14 13:58:17 +0000
commit72af8cea6a0573f7d2c004102cd04f1a1ad88798 (patch)
tree952486ba8d942552722f3c9ae11627282c28ff95 /src/Window.cc
parent9ea141105eea23c48bbf22eb3d451e4c7267f766 (diff)
using some references instead of pointers where possible in Screen, ScreenInfo, Slit, Toolbar, and Netizen
Diffstat (limited to 'src/Window.cc')
-rw-r--r--src/Window.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Window.cc b/src/Window.cc
index 54cba742..9ec94fe5 100644
--- a/src/Window.cc
+++ b/src/Window.cc
@@ -1005,7 +1005,7 @@ void OpenboxWindow::getWMProtocols(void) {
else if (proto[i] == openbox->getWMTakeFocusAtom())
flags.send_focus_message = True;
else if (proto[i] == openbox->getOpenboxStructureMessagesAtom())
- screen->addNetizen(new Netizen(screen, client.window));
+ screen->addNetizen(new Netizen(*screen, client.window));
}
XFree(proto);