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

« back to all changes in this revision

Viewing changes to Xi/grabdev.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:
132
132
    rc = GrabDevice(client, dev, stuff->other_devices_mode,
133
133
                    stuff->this_device_mode, stuff->grabWindow,
134
134
                    stuff->ownerEvents, stuff->time,
135
 
                    &mask, GRABTYPE_XI, None, None,
 
135
                    &mask, XI, None, None,
136
136
                    &rep.status);
137
137
 
138
138
    if (rc != Success)