summaryrefslogtreecommitdiff
path: root/openbox
diff options
context:
space:
mode:
authorMikael Magnusson <mikachu@comhem.se>2004-03-28 17:13:22 +0000
committerMikael Magnusson <mikachu@comhem.se>2004-03-28 17:13:22 +0000
commitb850133d21a047b4c42a29defb724a88c8150b20 (patch)
tree7c7bae0cb441e187f85b618a434c42e5e8638a33 /openbox
parenta0e2d38df5abb692236ae8fe23ffeb4e8cedf7c4 (diff)
allow the coordspopup to move to all xinerama screens
Diffstat (limited to 'openbox')
-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);