summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikael Magnusson <mikachu@comhem.se>2006-06-16 11:00:44 +0000
committerMikael Magnusson <mikachu@comhem.se>2006-06-16 11:00:44 +0000
commitca1656725301ff81b0b8fad6af71c21ce5edd558 (patch)
tree006b190a018538e25dc4f844236c53692aeb6f36
parentb3fa579a61b6259defa0cd718ab7047862cf506f (diff)
make popup windows saveunder
-rw-r--r--openbox/popup.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/openbox/popup.c b/openbox/popup.c
index c8b9f0c3..be85e8e8 100644
--- a/openbox/popup.c
+++ b/openbox/popup.c
@@ -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),