diff options
author | runge <runge> | 2006-01-22 03:56:23 +0000 |
---|---|---|
committer | runge <runge> | 2006-01-22 03:56:23 +0000 |
commit | 1967913e9530139eb355b7b3108bb12314ba47da (patch) | |
tree | f6bcde8135b62c53d9c9a99cf4a655a6bad86b74 /x11vnc/win_utils.c | |
parent | 17e6b6a2bf6def6b380bee2fcc0fb9e8254518f4 (diff) | |
download | libtdevnc-1967913e9530139eb355b7b3108bb12314ba47da.tar.gz libtdevnc-1967913e9530139eb355b7b3108bb12314ba47da.zip |
x11vnc: -8to24 opts, use XGetSubImage. fix -threads deadlocks and -rawfb crash
Diffstat (limited to 'x11vnc/win_utils.c')
-rw-r--r-- | x11vnc/win_utils.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/x11vnc/win_utils.c b/x11vnc/win_utils.c index 798d14a..327daae 100644 --- a/x11vnc/win_utils.c +++ b/x11vnc/win_utils.c @@ -217,6 +217,7 @@ void update_stack_list(void) { dtime0(&now); + X_LOCK; for (k=0; k < stack_list_num; k++) { Window win = stack_list[k].win; if (win != None && win < 10) { @@ -241,6 +242,7 @@ void update_stack_list(void) { stack_list[k].fetched = 1; stack_list[k].time = now; } + X_UNLOCK; if (0) fprintf(stderr, "update_stack_list[%d]: %.4f %.4f\n", stack_list_num, now - x11vnc_start, dtime(&now)); } |