X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fpopup.c;h=f132d9df2afcdd9b94a2ee543ea866fd63368737;hb=a908e04818e2d9eab3e3d8049c573e8d9ddcd0b8;hp=751a5b0de6363bea75a4cce4ec65acd462dfcae3;hpb=b2b8ad92bfbc60392737fe9945e719b238d34933;p=chaz%2Fopenbox diff --git a/openbox/popup.c b/openbox/popup.c index 751a5b0d..f132d9df 100644 --- a/openbox/popup.c +++ b/openbox/popup.c @@ -108,8 +108,10 @@ void popup_show(ObPopup *self, gchar *text) gint iconw; Rect *area; /* won't go outside this */ - area = screen_physical_area_monitor(0); /* XXX i'm guessing this - is wrong for xinerama? */ + area = screen_physical_area(); /* XXX this should work quite + good, someone with xinerama, + and different resolutions on + screens? */ RrMargins(self->a_bg, &l, &t, &r, &b); @@ -202,7 +204,7 @@ void popup_show(ObPopup *self, gchar *text) if (!self->mapped) { XMapWindow(ob_display, self->bg); - stacking_raise(INTERNAL_AS_WINDOW(self)); + stacking_raise(INTERNAL_AS_WINDOW(self), FALSE); self->mapped = TRUE; } }