From: Mikael Magnusson Date: Fri, 16 Jun 2006 11:00:44 +0000 (+0000) Subject: make popup windows saveunder X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=ca1656725301ff81b0b8fad6af71c21ce5edd558;p=chaz%2Fopenbox make popup windows saveunder --- 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),