make menus also saveunder
This commit is contained in:
parent
ca16567253
commit
666a466b7e
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue