~ubuntu-branches/ubuntu/trusty/xinput/trusty

« back to all changes in this revision

Viewing changes to src/feedback.c

  • Committer: Package Import Robot
  • Author(s): Cyril Brulebois, Julien Cristau, Chase Douglas, Cyril Brulebois
  • Date: 2012-05-20 13:56:03 UTC
  • mfrom: (1.1.9) (4.1.6 sid)
  • Revision ID: package-import@ubuntu.com-20120520135603-kz0mjqk7s0p84mz0
Tags: 1.6.0-1
[ Julien Cristau ]
* Change Maintainer to the X Strike Force.
* Add Vcs-* control fields.

[ Chase Douglas ]
* Bump Standards-Version to 3.9.2
* Add build deps on libxrandr-dev and libxinerama-dev
* Bump build deps on libxi and x11proto-input-dev

[ Cyril Brulebois ]
* New upstream release.
* Replace Julien with myself in Uploaders.

Show diffs side-by-side

added added

removed removed

Lines of Context:
46
46
    info = find_device_info(display, argv[0], True);
47
47
 
48
48
    if (!info) {
49
 
        fprintf(stderr, "unable to find device %s\n", argv[0]);
 
49
        fprintf(stderr, "unable to find device '%s'\n", argv[0]);
50
50
        return 1;
51
51
    }
52
52
 
53
53
    device = XOpenDevice(display, info->id);
54
54
 
55
55
    if (!device) {
56
 
        fprintf(stderr, "unable to open device %s\n", argv[0]);
 
56
        fprintf(stderr, "unable to open device '%s'\n", argv[0]);
57
57
        return 1;
58
58
    }
59
59
 
68
68
    }
69
69
 
70
70
    if (id == -1) {
71
 
       fprintf(stderr, "unable to find PtrFeedbackClass for %s\n", argv[0]);
 
71
       fprintf(stderr, "unable to find PtrFeedbackClass for '%s'\n", argv[0]);
72
72
       return 1;
73
73
    }
74
74
 
112
112
    info = find_device_info(display, argv[0], True);
113
113
 
114
114
    if (!info) {
115
 
        fprintf(stderr, "unable to find device %s\n", argv[0]);
 
115
        fprintf(stderr, "unable to find device '%s'\n", argv[0]);
116
116
        return 1;
117
117
    }
118
118
 
119
119
    device = XOpenDevice(display, info->id);
120
120
 
121
121
    if (!device) {
122
 
        fprintf(stderr, "unable to open device %s\n", argv[0]);
 
122
        fprintf(stderr, "unable to open device '%s'\n", argv[0]);
123
123
        return 1;
124
124
    }
125
125