From 73c9a0e06b0248d430aac1c2c91f44a6a9dbac04 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Thu, 31 Jan 2008 09:56:59 -0500 Subject: make an obt_root() macro --- openbox/menuframe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'openbox/menuframe.c') 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); -- cgit v1.2.3