Home | History | Annotate | Download | only in x11vnc

Lines Matching refs:nidx

3750 	int nidx, np = ncache_pad;
3769 nidx = lookup_win_index(orig_frame);
3771 if (nidx < 0) {
3772 nidx = lookup_win_index(frame);
3776 nidx = *nidx_in;
3778 if (nidx > 0) {
3781 int bs_x = cache_list[nidx].bs_x;
3782 int bs_y = cache_list[nidx].bs_y;
3783 int bs_w = cache_list[nidx].bs_w;
3784 int bs_h = cache_list[nidx].bs_h;
3786 *nidx_in = nidx;
3789 if (!find_rect(nidx, x, y, w, h)) {
3790 nidx = -1;
3793 bs_x = cache_list[nidx].bs_x;
3794 bs_y = cache_list[nidx].bs_y;
3795 bs_w = cache_list[nidx].bs_w;
3796 bs_h = cache_list[nidx].bs_h;
3799 nidx = -1;
3829 if (! sraRgnEmpty(r2) && cache_list[nidx].bs_time > 0.0) {
3881 void ncache_post_portions(int nidx, int use_batch, int orig_x, int orig_y, int orig_w, int orig_h,
3886 if (ncache > 0 && nidx >= 0) {
3889 int su_x = cache_list[nidx].su_x;
3890 int su_y = cache_list[nidx].su_y;
3891 int su_w = cache_list[nidx].su_w;
3892 int su_h = cache_list[nidx].su_h;
3893 int bs_x = cache_list[nidx].bs_x;
3894 int bs_y = cache_list[nidx].bs_y;
3895 int bs_w = cache_list[nidx].bs_w;
3896 int bs_h = cache_list[nidx].bs_h;
3902 if (!find_rect(nidx, x, y, w, h)) {
3905 su_x = cache_list[nidx].su_x;
3906 su_y = cache_list[nidx].su_y;
3907 su_w = cache_list[nidx].su_w;
3908 su_h = cache_list[nidx].su_h;
3909 bs_x = cache_list[nidx].bs_x;
3910 bs_y = cache_list[nidx].bs_y;
3911 bs_w = cache_list[nidx].bs_w;
3912 bs_h = cache_list[nidx].bs_h;
3968 if (cache_list[nidx].su_time == 0.0) {
3994 if (sraRgnAnd(r2, r1) && cache_list[nidx].su_time > 0.0) {
4081 (unsigned int) cache_list[nidx].win, nidx, su_w, su_h, su_x, su_y, bs_w, bs_h, bs_x, bs_y);
4083 cache_list[nidx].x = x + np;
4084 cache_list[nidx].y = y + np;
4087 cache_list[nidx].bs_time = dnow();
4089 cache_list[nidx].su_time = dnow();
4113 void do_copyrect_drag_move(Window orig_frame, Window frame, int *nidx, int try_batch,
4141 ncache_pre_portions(orig_frame, frame, nidx, try_batch, &use_batch,
4180 ncache_post_portions(*nidx, use_batch,
4352 int now_x = 0, now_y = 0, nidx = -1;
4832 nidx = idx;
4866 do_copyrect_drag_move(orig_frame, frame, &nidx,
4925 do_copyrect_drag_move(orig_frame, frame, &nidx,
4962 int nidx = -1;
4991 ncache_pre_portions(orig_frame, frame, &nidx, try_batch, &use_batch,
5017 ncache_post_portions(nidx, use_batch,