From: Mikael Magnusson Date: Fri, 16 Jun 2006 12:41:39 +0000 (+0000) Subject: make menus also saveunder X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=666a466b7e2ea3be315b7adb435fc15350804e69;p=chaz%2Fopenbox make menus also saveunder --- 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);