summaryrefslogtreecommitdiff
path: root/src/Screen.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/Screen.cc')
-rw-r--r--src/Screen.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Screen.cc b/src/Screen.cc
index 78a9a399..75ccea99 100644
--- a/src/Screen.cc
+++ b/src/Screen.cc
@@ -462,7 +462,7 @@ BScreen::BScreen(Openbox &ob, int scrn) : ScreenInfo(ob, scrn), openbox(ob) {
if (attrib.override_redirect) continue;
if (attrib.map_state != IsUnmapped) {
- new OpenboxWindow(&openbox, children[i], this);
+ new OpenboxWindow(openbox, children[i], this);
OpenboxWindow *win = openbox.searchWindow(children[i]);
if (win) {