]> Dogcows Code - chaz/openbox/commitdiff
make popup windows saveunder
authorMikael Magnusson <mikachu@comhem.se>
Fri, 16 Jun 2006 11:00:44 +0000 (11:00 +0000)
committerMikael Magnusson <mikachu@comhem.se>
Fri, 16 Jun 2006 11:00:44 +0000 (11:00 +0000)
openbox/popup.c

index c8b9f0c3aa88a2b1ec46b77bdc408097256a75c5..be85e8e8ee415b7fad2010b2ea846c9b5d8e03a6 100644 (file)
@@ -40,10 +40,11 @@ ObPopup *popup_new(gboolean hasicon)
     self->a_text = RrAppearanceCopy(ob_rr_theme->app_hilite_label);
 
     attrib.override_redirect = True;
+    attrib.save_under = True;
     self->bg = XCreateWindow(ob_display, RootWindow(ob_display, ob_screen),
                              0, 0, 1, 1, 0, RrDepth(ob_rr_inst),
                              InputOutput, RrVisual(ob_rr_inst),
-                             CWOverrideRedirect, &attrib);
+                             CWOverrideRedirect | CWSaveUnder, &attrib);
     
     self->text = XCreateWindow(ob_display, self->bg,
                                0, 0, 1, 1, 0, RrDepth(ob_rr_inst),
This page took 0.026406 seconds and 4 git commands to generate.