diff options
| author | Dana Jansens <danakj@orodu.net> | 2007-06-13 11:15:51 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2007-06-13 11:15:51 +0000 |
| commit | eb6a2e9c4b334f53d714a2e7f10f73c63c3d2edd (patch) | |
| tree | 82802298c0d4bb5acdb00f0531b626753cb2dec1 /openbox/popup.c | |
| parent | 97d4f66cd8db231531e2b425390ff1b4a74e5358 (diff) | |
xinerama support like crazy for struts and everything else too. this probably crashes but its been way too long without a commit.
Diffstat (limited to 'openbox/popup.c')
| -rw-r--r-- | openbox/popup.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/openbox/popup.c b/openbox/popup.c index 590c2946..f5072748 100644 --- a/openbox/popup.c +++ b/openbox/popup.c @@ -154,9 +154,10 @@ void popup_delay_show(ObPopup *self, gulong usec, gchar *text) gint emptyx, emptyy; /* empty space between elements */ gint textx, texty, textw, texth; gint iconx, icony, iconw, iconh; - Rect *area; + Rect *area, mon; - area = screen_physical_area(); + RECT_SET(mon, self->x, self->y, 1, 1); + area = screen_physical_area_monitor(screen_find_monitor(&mon)); /* when there is no icon and the text is not parent relative, then fill the whole dialog with the text appearance, don't use the bg at all |
