X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fpopup.c;h=f132d9df2afcdd9b94a2ee543ea866fd63368737;hb=a5100fe6770d5b223cf444eda5629c2b2208cb29;hp=9823ff2a07b08ba8801391b2b5179d696204b795;hpb=acc6124682c674e16b896bfe6b54c94f12f4cb87;p=chaz%2Fopenbox diff --git a/openbox/popup.c b/openbox/popup.c index 9823ff2a..f132d9df 100644 --- a/openbox/popup.c +++ b/openbox/popup.c @@ -1,6 +1,7 @@ /* -*- indent-tabs-mode: nil; tab-width: 4; c-basic-offset: 4; -*- popup.c for the Openbox window manager + Copyright (c) 2004 Mikael Magnusson Copyright (c) 2003 Ben Jansens This program is free software; you can redistribute it and/or modify @@ -107,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); @@ -201,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; } }