X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fpopup.c;h=fb7c90950bc2177fffcd4611444641ec2fbe2f7e;hb=ed4c6995ca199e5d015f1ca90654b4030c7ea760;hp=9823ff2a07b08ba8801391b2b5179d696204b795;hpb=acc6124682c674e16b896bfe6b54c94f12f4cb87;p=chaz%2Fopenbox diff --git a/openbox/popup.c b/openbox/popup.c index 9823ff2a..fb7c9095 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);