diff options
author | runge <runge> | 2006-05-07 00:50:13 +0000 |
---|---|---|
committer | runge <runge> | 2006-05-07 00:50:13 +0000 |
commit | 279f35495a122c9892198545f83e03c6fc50fa08 (patch) | |
tree | 7ce00691a9f77432cead7a5f4ae702fc62878019 /x11vnc/xkb_bell.c | |
parent | 0d734ad8967eafab1fb058280a0db04e7470e569 (diff) | |
download | libtdevnc-279f35495a122c9892198545f83e03c6fc50fa08.tar.gz libtdevnc-279f35495a122c9892198545f83e03c6fc50fa08.zip |
x11vnc: support for video4linux webcams & tv-tuners, -24to32 bpp option, -rawfb console.
Diffstat (limited to 'x11vnc/xkb_bell.c')
-rw-r--r-- | x11vnc/xkb_bell.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/x11vnc/xkb_bell.c b/x11vnc/xkb_bell.c index 2476390..1c01f7e 100644 --- a/x11vnc/xkb_bell.c +++ b/x11vnc/xkb_bell.c @@ -23,6 +23,8 @@ void initialize_xkb(void) { int ir, reason; int op, ev, er, maj, min; + RAWFB_RET_VOID + if (xkbcompat) { xkb_present = 0; } else if (! XkbQueryExtension(dpy, &op, &ev, &er, &maj, &min)) { @@ -60,6 +62,8 @@ void initialize_watch_bell(void) { return; } + RAWFB_RET_VOID + XkbSelectEvents(dpy, XkbUseCoreKbd, XkbBellNotifyMask, 0); if (! watch_bell) { @@ -88,6 +92,7 @@ void check_bell_event(void) { if (! xkb_base_event_type) { return; } + RAWFB_RET_VOID /* caller does X_LOCK */ if (! XCheckTypedEvent(dpy, xkb_base_event_type, &xev)) { |