summaryrefslogtreecommitdiff
path: root/openbox/menuframe.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2008-01-31 09:56:59 -0500
committerDana Jansens <danakj@orodu.net>2008-01-31 12:25:31 -0500
commit73c9a0e06b0248d430aac1c2c91f44a6a9dbac04 (patch)
tree35660084d3a6bdb0e7cb889f8b942b101775abf3 /openbox/menuframe.c
parentec3a4e3404d0bd07f0e99e49dc08d0bd148adbeb (diff)
make an obt_root() macro
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);