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/resist.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/resist.c')
| -rw-r--r-- | openbox/resist.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/openbox/resist.c b/openbox/resist.c index e4596840..3ab04a98 100644 --- a/openbox/resist.c +++ b/openbox/resist.c @@ -152,7 +152,8 @@ void resist_move_monitors(ObClient *c, gint resist, gint *x, gint *y) continue; } - area = screen_area_monitor(c->desktop, i, &desired_area); + area = screen_area(c->desktop, SCREEN_AREA_ALL_MONITORS, + &desired_area); al = RECT_LEFT(*area); at = RECT_TOP(*area); @@ -307,7 +308,8 @@ void resist_size_monitors(ObClient *c, gint resist, gint *w, gint *h, continue; } - area = screen_area_monitor(c->desktop, i, &desired_area); + area = screen_area(c->desktop, SCREEN_AREA_ALL_MONITORS, + &desired_area); /* get the screen boundaries */ al = RECT_LEFT(*area); |
