~ubuntu-branches/ubuntu/wily/unity-settings-daemon/wily-proposed

« back to all changes in this revision

Viewing changes to plugins/common/gsd-input-helper.c

  • Committer: Package Import Robot
  • Author(s): Sebastien Bacher, Bastien Nocera, Carlos Garnacho, Cosimo Cecchi, Florian Müllner, Jan Alexander Steffens (heftig), Kalev Lember, Matthias Clasen, Peter Hutterer, Ryan Lortie, Sebastien Bacher
  • Date: 2015-10-08 16:15:07 UTC
  • mfrom: (1.1.34)
  • Revision ID: package-import@ubuntu.com-20151008161507-2ox0t1y8guybhioq
Tags: 15.04.1+15.10.20151008-0ubuntu1
[ Bastien Nocera ]
* housekeeping: Don't follow symlinks to subdirectories, that can lead
  to data being deleted that shouldn't
* media-keys: Postpone initialisation of libcanberra

[ Carlos Garnacho ]
* [xsettings] backport some small fixes from upstream, should fix
  issues where settings changes are delayed

[ Cosimo Cecchi ]
* housekeeping: Don't follow symlinks to subdirectories, that can lead
  to data being deleted that shouldn't

[ Florian Müllner ]
* [xsettings] backport some small fixes from upstream, should fix
  issues where settings changes are delayed

[ Jan Alexander Steffens (heftig) ]
* [xsettings] backport some small fixes from upstream, should fix
  issues where settings changes are delayed

[ Kalev Lember ]
* [xsettings] backport some small fixes from upstream, should fix
  issues where settings changes are delayed

[ Matthias Clasen ]
* [xsettings] backport some small fixes from upstream, should fix
  issues where settings changes are delayed

[ Peter Hutterer ]
* Backport changes from upstream git and
  https://bugzilla.gnome.org/show_bug.cgi?id=724789 to better handle
  XError

[ Ryan Lortie ]
* [xsettings] backport some small fixes from upstream, should fix
  issues where settings changes are delayed

[ Sebastien Bacher ]
* [orientation] tweaked version of upstream fix for settings updates
* [xrandr] slightly updated version of an upstream bugfix for a
  segfault issue (LP: #1298024)

Show diffs side-by-side

added added

removed removed

Lines of Context:
270
270
                        continue;
271
271
 
272
272
                retval = (device_func) (device);
273
 
                if (retval) {
274
 
                        XCloseDevice (GDK_DISPLAY_XDISPLAY (gdk_display_get_default ()), device);
 
273
                xdevice_close (device);
 
274
                if (retval)
275
275
                        break;
276
 
                }
277
 
 
278
 
                XCloseDevice (GDK_DISPLAY_XDISPLAY (gdk_display_get_default ()), device);
279
276
        }
280
277
        XFreeDeviceList (device_info);
281
278
 
631
628
 
632
629
        return (w != 0 && h != 0);
633
630
}
 
631
 
 
632
void
 
633
xdevice_close (XDevice *xdevice)
 
634
{
 
635
    gdk_error_trap_push ();
 
636
    XCloseDevice (GDK_DISPLAY_XDISPLAY (gdk_display_get_default ()), xdevice);
 
637
    gdk_error_trap_pop_ignored();
 
638
}