summaryrefslogtreecommitdiff
path: root/xgps.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2009-11-17 10:31:52 +0000
committerEric S. Raymond <esr@thyrsus.com>2009-11-17 10:31:52 +0000
commit9a5b1f614995a8b87ff4c1f6aefecc32760efaa5 (patch)
treee1c18a52a0e4aa1545e3478fef585fd666d79578 /xgps.c
parent31b34063d94869dbbd9dc60fa676dbade3be7a89 (diff)
downloadgpsd-9a5b1f614995a8b87ff4c1f6aefecc32760efaa5.tar.gz
I found the bug in JSON parsing, so re-enable new protocol on all clients.
Diffstat (limited to 'xgps.c')
-rw-r--r--xgps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xgps.c b/xgps.c
index bbebac58..aa40bd8a 100644
--- a/xgps.c
+++ b/xgps.c
@@ -1063,7 +1063,7 @@ handle_gps(XtPointer client_data UNUSED, XtIntervalId *ignored UNUSED)
gps_set_raw_hook(gpsdata, update_panel);
- mask = WATCH_ENABLE|WATCH_RAW;
+ mask = WATCH_ENABLE|WATCH_RAW|WATCH_NEWSTYLE;
(void)gps_stream(gpsdata, mask, NULL);
gps_input = XtAppAddInput(app, gpsdata->gps_fd,