~ubuntu-branches/ubuntu/vivid/xorg-server/vivid

« back to all changes in this revision

Viewing changes to test/xi2/xi2.c

  • Committer: Package Import Robot
  • Author(s): Maarten Lankhorst
  • Date: 2013-07-03 12:03:57 UTC
  • mfrom: (1.1.56)
  • Revision ID: package-import@ubuntu.com-20130703120357-caosebpn11zu2zj0
Tags: 2:1.14.1-0ubuntu0.8
Use correct version for libxfixes3.

Show diffs side-by-side

added added

removed removed

Lines of Context:
36
36
    XI2Mask *xi2mask = NULL, *mergemask = NULL;
37
37
    unsigned char *mask;
38
38
    DeviceIntRec dev;
 
39
    DeviceIntRec all_devices, all_master_devices;
39
40
    int i;
40
41
 
 
42
    all_devices.id = XIAllDevices;
 
43
    inputInfo.all_devices = &all_devices;
 
44
    all_master_devices.id = XIAllMasterDevices;
 
45
    inputInfo.all_master_devices = &all_master_devices;
 
46
 
41
47
    /* size >= nmasks * 2 for the test cases below */
42
48
    xi2mask = xi2mask_new_with_size(MAXDEVICES + 2, (MAXDEVICES + 2) * 2);
43
49
    assert(xi2mask);