From: Peter Hutterer Date: Mon, 7 Jan 2008 08:26:54 +0000 (+1030) Subject: Don't overwrite daemon with argc. X-Git-Url: https://diplodocus.org/git/xorg-xinput/commitdiff_plain/2497824aa16683eaeaab4bf374ddc9e04688320a?ds=sidebyside;hp=--cc Don't overwrite daemon with argc. This must be a leftover from my excessive out-of-order cherry-picking. Turns out when --short was supplied we'd set daemon to argc, causing a loop waiting for an event that'd never come. A bit like Godot actually. --- 2497824aa16683eaeaab4bf374ddc9e04688320a diff --git a/src/list.c b/src/list.c index e288642..ee6faa2 100644 --- a/src/list.c +++ b/src/list.c @@ -124,7 +124,6 @@ list(Display *display, if (argc == 0 || shortformat || daemon) { int num_devices; XEvent ev; - int daemon = argc; if (daemon) {