diff options
author | runge <runge> | 2007-01-31 15:41:42 +0000 |
---|---|---|
committer | runge <runge> | 2007-01-31 15:41:42 +0000 |
commit | 1b9082bc8739e5ab186092ca1dcff1736eb91c0e (patch) | |
tree | 9d2a267bcbba93aed87634838c9ac10f36363210 /x11vnc/macosxCG.c | |
parent | 1f8da9bde3b7de272228872410143f076662ae13 (diff) | |
download | libvncserver-1b9082bc8739e5ab186092ca1dcff1736eb91c0e.zip libvncserver-1b9082bc8739e5ab186092ca1dcff1736eb91c0e.tar.gz |
x11vnc: -reflect, -N. -ncache, FINDDISPLAY, FINDCREATEDISPLAY, improvements. MODTWEAK_LOWEST workaround.
Diffstat (limited to 'x11vnc/macosxCG.c')
-rw-r--r-- | x11vnc/macosxCG.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/x11vnc/macosxCG.c b/x11vnc/macosxCG.c index 6e56e9f..ce8e662 100644 --- a/x11vnc/macosxCG.c +++ b/x11vnc/macosxCG.c @@ -35,7 +35,7 @@ void macosxCG_key_inject(int down, unsigned int keysym); CGDirectDisplayID displayID = NULL; extern void macosx_log(char *); -extern int collect_macosx_damage(int x_in, int y_in, int w_in, int h_in, int call); +extern int collect_non_X_xdamage(int x_in, int y_in, int w_in, int h_in, int call); static void macosxCG_callback(CGRectCount n, const CGRect *rects, void *dum) { int i, db = 0; @@ -43,7 +43,7 @@ static void macosxCG_callback(CGRectCount n, const CGRect *rects, void *dum) { if (!dum) {} for (i=0; i < (int) n; i++) { if (db > 1) fprintf(stderr, " : %g %g - %g %g\n", rects[i].origin.x, rects[i].origin.y, rects[i].size.width, rects[i].size.height); - collect_macosx_damage( (int) rects[i].origin.x, (int) rects[i].origin.y, + collect_non_X_xdamage( (int) rects[i].origin.x, (int) rects[i].origin.y, (int) rects[i].size.width, (int) rects[i].size.height, 1); } } |