Lines Matching defs:nbatch

98 int bs_restore(int idx, int *nbatch, sraRegionPtr rmask, XWindowAttributes *attr, int clip, int nopad, int *valid, int verb);
99 int try_to_fix_su(Window win, int idx, Window above, int *nbatch, char *mode);
124 int dx, int dy, int *obscured, sraRegionPtr extra_clip, double max_wait, int *nbatch);
1626 int nbatch = 0;
1629 tmpregion, waittime, &nbatch);
1637 batch_push(nbatch, delay);
3141 int dx, int dy, int *obscured, sraRegionPtr extra_clip, double max_wait, int *nbatch) {
3150 if (nbatch == NULL) {
3215 if (!nbatch) {
3218 batch_dxs[*nbatch] = dx;
3219 batch_dys[*nbatch] = dy;
3220 batch_reg[*nbatch] = sraRgnCreateRgn(rect);
3221 (*nbatch)++;
3452 if (!nbatch) {
3455 batch_dxs[*nbatch] = dx;
3456 batch_dys[*nbatch] = dy;
3457 batch_reg[*nbatch] = sraRgnCreateRgn(shifted_region);
3458 (*nbatch)++;
5735 int bs_restore(int idx, int *nbatch, sraRegionPtr rmask, XWindowAttributes *attr, int clip, int nopad, int *valid, int verb) {
5736 if (!idx || !nbatch || !rmask || !attr || !clip || !nopad || !valid || !verb) {}
5739 int try_to_fix_su(Window win, int idx, Window above, int *nbatch, char *mode) {
5740 if (!win || !idx || !above || !nbatch || !mode) {}
6986 static void cache_cr(sraRegionPtr r, int dx, int dy, double d0, double d1, int *nbatch) {
6990 if (nbatch == NULL) {
6999 batch_dxs[*nbatch] = dx;
7000 batch_dys[*nbatch] = dy;
7001 batch_reg[*nbatch] = sraRgnCreateRgn(r);
7002 (*nbatch)++;
7132 int bs_save(int idx, int *nbatch, XWindowAttributes *attr, int clip, int only_if_tracking, int *valid, int verb) {
7225 cache_cr(r, dx, dy, save_delay0, save_delay1, nbatch);
7238 int su_save(int idx, int *nbatch, XWindowAttributes *attr, int clip, int *valid, int verb) {
7327 cache_cr(r, dx, dy, save_delay0, save_delay1, nbatch);
7340 int bs_restore(int idx, int *nbatch, sraRegionPtr rmask, XWindowAttributes *attr, int clip, int nopad, int *valid, int verb) {
7430 cache_cr(r, dx, dy, restore_delay0, restore_delay1, nbatch);
7443 int su_restore(int idx, int *nbatch, sraRegionPtr rmask, XWindowAttributes *attr, int clip, int nopad, int *valid, int verb) {
7539 cache_cr(r, dx, dy, restore_delay0, restore_delay1, nbatch);
7914 int try_to_fix_su(Window win, int idx, Window above, int *nbatch, char *mode) {
8051 cache_cr(r2, dx, dy, save_delay0, save_delay1, nbatch);
8091 cache_cr(r2, dx, dy, save_delay0, save_delay1, nbatch);
8461 int try_to_synthesize_su(int force, int urgent, int *nbatch) {
8568 cache_cr(r2, dx, dy, save_delay0, save_delay1, nbatch);
8614 cache_cr(r2, dx, dy, save_delay0, save_delay1, nbatch);
8893 int nreg = 0, *nbatch;
9275 nbatch = NULL;
9278 nbatch = &nreg;
9614 bs_save(idx, nbatch, &attr, 1, 0, &valid, 1);
9701 su_save(idx, nbatch, &attr, 0, &valid, 1);
9791 bs_restore(idx, nbatch, NULL, &attr, 0, 0, &valid, 1);
9796 su_restore(idx, nbatch, NULL, &attr, 1, 0, &valid, 1);
9847 int rc = try_to_fix_su(win, idx, ev.xconfigure.above, nbatch, NULL);
9850 try_to_synthesize_su(1, 1, nbatch);
9940 bs_restore(idx, nbatch, rmask, &attr, 0, 1, &valid, 1);
10007 su_save(idx, nbatch, &attr, 1, &valid, 1);
10014 su_save(idx, nbatch, &attr, 0, &valid, 1);
10026 } else if (bs_restore(idx, nbatch, NULL, &attr, 0, 0, &valid, 1)) { /* XXX clip? */
10108 bs_save(idx, nbatch, &attr, 1, 0, &valid, 1);
10112 bs_save(idx, nbatch, &attr, 1, 0, &valid, 1);
10115 if (su_restore(idx, nbatch, NULL, &attr, 1, 0, &valid, 1)) {
10116 try_to_fix_su(win, idx, None, nbatch, "unmapped");