allow the coordspopup to move to all xinerama screens
This commit is contained in:
parent
a0e2d38df5
commit
b850133d21
1 changed files with 4 additions and 2 deletions
|
@ -108,8 +108,10 @@ void popup_show(ObPopup *self, gchar *text)
|
||||||
gint iconw;
|
gint iconw;
|
||||||
Rect *area; /* won't go outside this */
|
Rect *area; /* won't go outside this */
|
||||||
|
|
||||||
area = screen_physical_area_monitor(0); /* XXX i'm guessing this
|
area = screen_physical_area(); /* XXX this should work quite
|
||||||
is wrong for xinerama? */
|
good, someone with xinerama,
|
||||||
|
and different resolutions on
|
||||||
|
screens? */
|
||||||
|
|
||||||
RrMargins(self->a_bg, &l, &t, &r, &b);
|
RrMargins(self->a_bg, &l, &t, &r, &b);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue