diff options
Diffstat (limited to 'plugins/resistance')
| -rw-r--r-- | plugins/resistance/resistance.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/resistance/resistance.c b/plugins/resistance/resistance.c index aa60b2b1..31844752 100644 --- a/plugins/resistance/resistance.c +++ b/plugins/resistance/resistance.c @@ -108,8 +108,8 @@ static void resist_move(Client *c, int *x, int *y) } /* get the screen boundaries */ - for (i = 0; i < screen_num_xin_areas; ++i) { - area = screen_area_xinerama(c->desktop, i); + for (i = 0; i < screen_num_monitors; ++i) { + area = screen_area_monitor(c->desktop, i); if (!RECT_INTERSECTS_RECT(*area, c->frame->area)) continue; |
