summaryrefslogtreecommitdiffstats
path: root/x11vnc/connections.c
diff options
context:
space:
mode:
authorrunge <runge>2006-11-21 22:16:23 +0000
committerrunge <runge>2006-11-21 22:16:23 +0000
commit27a884d2f3775cf4d97ea8f3d7433cbe2deebbfc (patch)
treea4b7c9f0ae519b0afa0d14b646abca3ad01b35a8 /x11vnc/connections.c
parent05ba45f72e70b4372ef05a8aca34a3bddcfaeb71 (diff)
downloadlibtdevnc-27a884d2f3775cf4d97ea8f3d7433cbe2deebbfc.tar.gz
libtdevnc-27a884d2f3775cf4d97ea8f3d7433cbe2deebbfc.zip
x11vnc: Mac OS X fb fixes and cuttext, -nodpms option, local user wireframing
Diffstat (limited to 'x11vnc/connections.c')
-rw-r--r--x11vnc/connections.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/x11vnc/connections.c b/x11vnc/connections.c
index 71608ec..d4f5b35 100644
--- a/x11vnc/connections.c
+++ b/x11vnc/connections.c
@@ -748,7 +748,7 @@ void client_gone(rfbClientPtr client) {
clean_up_exit(0);
}
#ifdef MACOSX
- if (! dpy && client_count == 0) {
+ if (macosx_console && client_count == 0) {
macosxCG_refresh_callback_off();
}
#endif
@@ -2108,7 +2108,7 @@ enum rfbNewClientAction new_client(rfbClientPtr client) {
autorepeat(0, 0);
}
#ifdef MACOSX
- if (! dpy && client_count == 1) {
+ if (macosx_console && client_count == 1) {
macosxCG_refresh_callback_on();
}
#endif