summaryrefslogtreecommitdiff
path: root/openbox/menu.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-07-10 19:01:41 +0000
committerDana Jansens <danakj@orodu.net>2003-07-10 19:01:41 +0000
commit35418ca0fcd3fd28ef579f4435b8bad3b7c87f04 (patch)
tree07182e5626a01baf752ec13a57d7ab3eabe8f967 /openbox/menu.c
parentec908528cf2abad9d2b968db9c8f7287ef5f54fe (diff)
remove the ob_root var, its redundant of what Xlib already provides
Diffstat (limited to 'openbox/menu.c')
-rw-r--r--openbox/menu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbox/menu.c b/openbox/menu.c
index c12fadf9..aef0356d 100644
--- a/openbox/menu.c
+++ b/openbox/menu.c
@@ -212,7 +212,7 @@ Menu *menu_new_full(char *label, char *name, Menu *parent,
attrib.override_redirect = TRUE;
attrib.event_mask = FRAME_EVENTMASK;
- self->frame = createWindow(ob_root,
+ self->frame = createWindow(RootWindow(ob_display, ob_screen),
CWOverrideRedirect|CWEventMask, &attrib);
attrib.event_mask = TITLE_EVENTMASK;
self->title = createWindow(self->frame, CWEventMask, &attrib);