~ubuntu-branches/ubuntu/precise/xorg-server/precise-updates

« back to all changes in this revision

Viewing changes to hw/xquartz/darwinXinput.c

  • Committer: Package Import Robot
  • Author(s): Christopher James Halse Rogers
  • Date: 2012-01-23 16:09:29 UTC
  • mfrom: (1.1.46) (0.11.34 sid)
  • Revision ID: package-import@ubuntu.com-20120123160929-k4xdb9b7xeesiukp
Tags: 2:1.11.3-0ubuntu8
* debian/patches/224_return_BadWindow_not_BadMatch.diff:
  - Fix the error values of a whole slew of window-related calls.
    Fixes some gnome-settings-daemon aborts in XLib (LP: #903973)

Show diffs side-by-side

added added

removed removed

Lines of Context:
117
117
{
118
118
 
119
119
  DEBUG_LOG("ChangeDeviceControl(%p, %p, %p)\n", client, dev, control);
120
 
    switch (control->control) {
121
 
    case DEVICE_RESOLUTION:
122
 
        return BadMatch;
123
 
    case DEVICE_ABS_CALIB:
124
 
    case DEVICE_ABS_AREA:
125
 
        return BadMatch;
126
 
    case DEVICE_CORE:
127
 
        return BadMatch;
128
 
    default:
129
 
        return BadMatch;
130
 
    }
 
120
  return BadMatch;
131
121
}
132
122
 
133
123
 
159
149
  DEBUG_LOG("DeleteInputDeviceRequest(%p)\n", dev);
160
150
}
161
151
 
162
 
void
163
 
CloseInput (void)
164
 
{
165
 
}
166