]> Dogcows Code - chaz/openbox/commitdiff
make menus also saveunder
authorMikael Magnusson <mikachu@comhem.se>
Fri, 16 Jun 2006 12:41:39 +0000 (12:41 +0000)
committerMikael Magnusson <mikachu@comhem.se>
Fri, 16 Jun 2006 12:41:39 +0000 (12:41 +0000)
openbox/menuframe.c

index 6cfcd6173461603a45dbc729c9781149ea8cf1aa..99b7dceebc0436c21e7f3c6155316b841bf303dd 100644 (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);
This page took 0.022857 seconds and 4 git commands to generate.