From 666a466b7e2ea3be315b7adb435fc15350804e69 Mon Sep 17 00:00:00 2001 From: Mikael Magnusson Date: Fri, 16 Jun 2006 12:41:39 +0000 Subject: [PATCH] make menus also saveunder --- openbox/menuframe.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/openbox/menuframe.c b/openbox/menuframe.c index 6cfcd617..99b7dcee 100644 --- a/openbox/menuframe.c +++ b/openbox/menuframe.c @@ -66,8 +66,9 @@ ObMenuFrame* menu_frame_new(ObMenu *menu, ObClient *client) self->client = client; attr.event_mask = FRAME_EVENTMASK; + attr.save_under = True; self->window = createWindow(RootWindow(ob_display, ob_screen), - CWEventMask, &attr); + CWEventMask | CWSaveUnder, &attr); attr.event_mask = TITLE_EVENTMASK; self->title = createWindow(self->window, CWEventMask, &attr); self->items = createWindow(self->window, 0, NULL); -- 2.45.2