- get_position(i, *screen, &r);
- edge[i]->win = XCreateWindow(obt_display, obt_root(ob_screen),
- r.x, r.y, r.width, r.height, 0, 0, InputOnly,
- CopyFromParent, CWOverrideRedirect, &xswa);
- XSelectInput(obt_display, edge[i]->win, ButtonPressMask | ButtonReleaseMask
- | EnterWindowMask | LeaveWindowMask);
- XMapWindow(obt_display, edge[i]->win);
+ get_position(i, *monitor, &r);
+ edge[m][i]->win = XCreateWindow(obt_display, obt_root(ob_screen),
+ r.x, r.y, r.width, r.height, 0, 0, InputOnly,
+ CopyFromParent, CWOverrideRedirect, &xswa);
+ XSelectInput(obt_display, edge[m][i]->win, ButtonPressMask | ButtonReleaseMask
+ | EnterWindowMask | LeaveWindowMask);
+ XMapWindow(obt_display, edge[m][i]->win);