Update keyboard focus handler signatures
authorKristian Høgsberg <krh@bitplanet.net>
Thu, 29 Jul 2010 03:50:12 +0000 (23:50 -0400)
committerKristian Høgsberg <krh@bitplanet.net>
Thu, 29 Jul 2010 03:51:05 +0000 (23:51 -0400)
clients/gears.c
clients/image.c
clients/terminal.c
clients/view.c

index 073eee1cbeab101e8ac62df485d1a182f8dfd4a1..7d97e23b8c06fd2316ae1259136d522bcbad95e3 100644 (file)
@@ -309,7 +309,7 @@ resize_handler(struct window *window, void *data)
 
 static void
 keyboard_focus_handler(struct window *window,
-                      struct wl_input_device *device, void *data)
+                      struct input *device, void *data)
 {
        struct gears *gears = data;
 
index c8de5e65e641b985a1c5cbc4b7ba28e65be7acb0..fa235207f73b6f7b582f8100550a1a4192db7e26 100644 (file)
@@ -190,7 +190,7 @@ redraw_handler(struct window *window, void *data)
 
 static void
 keyboard_focus_handler(struct window *window,
-                      struct wl_input_device *device, void *data)
+                      struct input *device, void *data)
 {
        struct image *image = data;
 
@@ -224,7 +224,8 @@ image_create(struct display *display, uint32_t key, const char *filename)
 
        window_set_user_data(image->window, image);
        window_set_redraw_handler(image->window, redraw_handler);
-       window_set_keyboard_focus_handler(image->window, keyboard_focus_handler);
+       window_set_keyboard_focus_handler(image->window,
+                                         keyboard_focus_handler);
 
        image_draw(image);
 
index 5fe0d217221052bd658182d59ade14da96aab25f..1bb496dd9f9b26f69bb53409273fd59097cf611e 100644 (file)
@@ -441,7 +441,7 @@ key_handler(struct window *window, uint32_t key, uint32_t sym,
 
 static void
 keyboard_focus_handler(struct window *window,
-                      struct wl_input_device *device, void *data)
+                      struct input *device, void *data)
 {
        struct terminal *terminal = data;
 
index e0903bf8ebb37a9a44200a2cbb0d8df471aee5e1..0c8ce5ad5ce587f743c9984410b0ae25773e463d 100644 (file)
@@ -148,7 +148,7 @@ key_handler(struct window *window, uint32_t key, uint32_t unicode,
 
 static void
 keyboard_focus_handler(struct window *window,
-                      struct wl_input_device *device, void *data)
+                      struct input *device, void *data)
 {
        struct view *view = data;