diff options
| author | runge <runge@karlrunge.com> | 2010-12-21 12:04:02 -0500 | 
|---|---|---|
| committer | runge <runge@karlrunge.com> | 2010-12-21 12:04:02 -0500 | 
| commit | 365a22c63cb292ea494f39ebc48a37e322e5eb14 (patch) | |
| tree | ca6e87ab396ee00a837b09b2c6cede62aec69dae /x11vnc/8to24.c | |
| parent | d4fabc217e8cd02aca4d248229bb8a030b2bbfe2 (diff) | |
| download | libtdevnc-365a22c63cb292ea494f39ebc48a37e322e5eb14.tar.gz libtdevnc-365a22c63cb292ea494f39ebc48a37e322e5eb14.zip  | |
x11vnc: touchscreen uinput support and Java viewer mousewheel support.  See x11vnc/ChangeLog for rest.
Diffstat (limited to 'x11vnc/8to24.c')
| -rw-r--r-- | x11vnc/8to24.c | 8 | 
1 files changed, 4 insertions, 4 deletions
diff --git a/x11vnc/8to24.c b/x11vnc/8to24.c index 75ab68a..30c3da2 100644 --- a/x11vnc/8to24.c +++ b/x11vnc/8to24.c @@ -720,7 +720,7 @@ static int check_depth_win(Window win, Window top, XWindowAttributes *attr) {  	if (store_it) {  		int i, j = -1, none = -1, nomap = -1; -		int new = 0; +		int newc = 0;  		if (attr->map_state == IsViewable) {  			/* count the visible ones: */  			multivis_count++; @@ -754,7 +754,7 @@ if (db24 > 1) fprintf(stderr, "multivis: 0x%lx %d\n", win, attr->depth);  			} else if (none >= 0) {  				/* put it in the first None slot */  				j = none; -				new = 1; +				newc = 1;  			} else if (nomap >=0) {  				/* put it in the first unmapped slot */  				j = nomap; @@ -791,8 +791,8 @@ if (db24 > 1) fprintf(stderr, "multivis: STORE 0x%lx j: %3d ms: %d dep=%d\n", wi  			windows_8bpp[j].x = x;  			windows_8bpp[j].y = y; -			if (new || now_vis) { -if (db24) fprintf(stderr, "new/now_vis: 0x%lx %d/%d\n", win, new, now_vis); +			if (newc || now_vis) { +if (db24) fprintf(stderr, "new/now_vis: 0x%lx %d/%d\n", win, newc, now_vis);  				/* mark it immediately if a new one: */  				X_UNLOCK;	/* dont forget the giant lock */  				mark_rect_as_modified(x, y, x + attr->width,  | 
