summaryrefslogtreecommitdiff
path: root/openbox/menuframe.c
diff options
context:
space:
mode:
Diffstat (limited to 'openbox/menuframe.c')
-rw-r--r--openbox/menuframe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbox/menuframe.c b/openbox/menuframe.c
index 2abb82c6..83d0e718 100644
--- a/openbox/menuframe.c
+++ b/openbox/menuframe.c
@@ -85,7 +85,7 @@ ObMenuFrame* menu_frame_new(ObMenu *menu, guint show_from, ObClient *client)
self->show_from = show_from;
attr.event_mask = FRAME_EVENTMASK;
- self->window = createWindow(RootWindow(obt_display, ob_screen),
+ self->window = createWindow(obt_root(ob_screen),
CWEventMask, &attr);
XSetWindowBorderWidth(obt_display, self->window, ob_rr_theme->mbwidth);