summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--openbox/popup.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/openbox/popup.c b/openbox/popup.c
index 751a5b0d..fb7c9095 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);