summaryrefslogtreecommitdiff
path: root/openbox
diff options
context:
space:
mode:
authorMikael Magnusson <mikachu@comhem.se>2006-06-16 12:41:39 +0000
committerMikael Magnusson <mikachu@comhem.se>2006-06-16 12:41:39 +0000
commit666a466b7e2ea3be315b7adb435fc15350804e69 (patch)
tree66aae2b7264311d897a0cfaabe66f9c3b52a92ae /openbox
parentca1656725301ff81b0b8fad6af71c21ce5edd558 (diff)
make menus also saveunder
Diffstat (limited to 'openbox')
-rw-r--r--openbox/menuframe.c3
1 files changed, 2 insertions, 1 deletions
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);