Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 278760 | Differences between
and this patch

Collapse All | Expand All

(-)xorg-server-1.6.2/config/hal.c (+5 lines)
Lines 506-512 connect_and_register(DBusConnection *con Link Here
506
506
507
    devices = libhal_find_device_by_capability(info->hal_ctx, "input",
507
    devices = libhal_find_device_by_capability(info->hal_ctx, "input",
508
                                               &num_devices, &error);
508
                                               &num_devices, &error);
509
    if (dbus_error_is_set(&error)) {
509
    /* FIXME: Get default devices if error is set. */
510
    /* FIXME: Get default devices if error is set. */
511
        LogMessage(X_ERROR, "config/hal: couldn't find input device: %s (%s)\n",
512
               error.name, error.message);
513
        goto out_ctx2;
514
    }
510
    for (i = 0; i < num_devices; i++)
515
    for (i = 0; i < num_devices; i++)
511
        device_added(info->hal_ctx, devices[i]);
516
        device_added(info->hal_ctx, devices[i]);
512
    libhal_free_string_array(devices);
517
    libhal_free_string_array(devices);

Return to bug 278760