make menus also saveunder

This commit is contained in:
Mikael Magnusson 2006-06-16 12:41:39 +00:00
parent ca16567253
commit 666a466b7e

View file

@ -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);