Use a more generic glob for input devices.

dev
Kristian Høgsberg 16 years ago
parent b3131d9268
commit e787bc60e5
  1. 6
      wayland-system-compositor.c

@ -859,13 +859,13 @@ post_output_geometry(struct wl_client *client, struct wl_object *global)
static const char gem_device[] = "/dev/dri/card0"; static const char gem_device[] = "/dev/dri/card0";
static const char *macbook_air_default_input_device[] = { static const char *default_input_device[] = {
"pci-0000:00:1d.2-usb-0:2:1*event*", "*event*",
NULL NULL
}; };
static const char *option_background = "background.jpg"; static const char *option_background = "background.jpg";
static const char **option_input_devices = macbook_air_default_input_device; static const char **option_input_devices = default_input_device;
static const GOptionEntry option_entries[] = { static const GOptionEntry option_entries[] = {
{ "background", 'b', 0, G_OPTION_ARG_STRING, { "background", 'b', 0, G_OPTION_ARG_STRING,

Loading…
Cancel
Save