~ubuntu-branches/ubuntu/trusty/wayland/trusty

« back to all changes in this revision

Viewing changes to src/wayland-protocol.c

  • Committer: Package Import Robot
  • Author(s): Hector Oron, Timo Aaltonen, Hector Oron
  • Date: 2013-10-11 11:23:38 UTC
  • mfrom: (1.1.15) (0.4.2 sid)
  • Revision ID: package-import@ubuntu.com-20131011112338-2jg0z6ncpm9qnots
Tags: 1.3.0-1
[ Timo Aaltonen ]
* control: Bump the libwayland0 C/R to (<< 1.1.0) so that it covers
  the ubuntu version too, and add it to -cursor.

[ Hector Oron ]
* New upstream stable release (1.3.0).
* Add myself to Uploaders.
* Switch to Debian source format 3.0 quilt.
* d/libwayland-dev.install:
  - install wayland documentation

Show diffs side-by-side

added added

removed removed

Lines of Context:
210
210
};
211
211
 
212
212
WL_EXPORT const struct wl_interface wl_compositor_interface = {
213
 
        "wl_compositor", 2,
 
213
        "wl_compositor", 3,
214
214
        2, wl_compositor_requests,
215
215
        0, NULL,
216
216
};
362
362
        { "set_opaque_region", "?o", types + 62 },
363
363
        { "set_input_region", "?o", types + 63 },
364
364
        { "commit", "", types + 0 },
365
 
        { "set_buffer_transform", "i", types + 0 },
 
365
        { "set_buffer_transform", "2i", types + 0 },
 
366
        { "set_buffer_scale", "3i", types + 0 },
366
367
};
367
368
 
368
369
static const struct wl_message wl_surface_events[] = {
371
372
};
372
373
 
373
374
WL_EXPORT const struct wl_interface wl_surface_interface = {
374
 
        "wl_surface", 2,
375
 
        8, wl_surface_requests,
 
375
        "wl_surface", 3,
 
376
        9, wl_surface_requests,
376
377
        2, wl_surface_events,
377
378
};
378
379
 
384
385
 
385
386
static const struct wl_message wl_seat_events[] = {
386
387
        { "capabilities", "u", types + 0 },
 
388
        { "name", "2s", types + 0 },
387
389
};
388
390
 
389
391
WL_EXPORT const struct wl_interface wl_seat_interface = {
390
 
        "wl_seat", 1,
 
392
        "wl_seat", 3,
391
393
        3, wl_seat_requests,
392
 
        1, wl_seat_events,
 
394
        2, wl_seat_events,
393
395
};
394
396
 
395
397
static const struct wl_message wl_pointer_requests[] = {
396
 
        { "set_cursor", "u?off", types + 69 },
 
398
        { "set_cursor", "u?oii", types + 69 },
 
399
        { "release", "3", types + 0 },
397
400
};
398
401
 
399
402
static const struct wl_message wl_pointer_events[] = {
400
 
        { "enter", "uoff", types + 73 },
401
 
        { "leave", "uo", types + 77 },
402
 
        { "motion", "uff", types + 0 },
403
 
        { "button", "uuuu", types + 0 },
404
 
        { "axis", "uuf", types + 0 },
 
403
        { "enter", "3uoff", types + 73 },
 
404
        { "leave", "3uo", types + 77 },
 
405
        { "motion", "3uff", types + 0 },
 
406
        { "button", "3uuuu", types + 0 },
 
407
        { "axis", "3uuf", types + 0 },
405
408
};
406
409
 
407
410
WL_EXPORT const struct wl_interface wl_pointer_interface = {
408
 
        "wl_pointer", 1,
409
 
        1, wl_pointer_requests,
 
411
        "wl_pointer", 3,
 
412
        2, wl_pointer_requests,
410
413
        5, wl_pointer_events,
411
414
};
412
415
 
 
416
static const struct wl_message wl_keyboard_requests[] = {
 
417
        { "release", "3", types + 0 },
 
418
};
 
419
 
413
420
static const struct wl_message wl_keyboard_events[] = {
414
 
        { "keymap", "uhu", types + 0 },
415
 
        { "enter", "uoa", types + 79 },
416
 
        { "leave", "uo", types + 82 },
417
 
        { "key", "uuuu", types + 0 },
418
 
        { "modifiers", "uuuuu", types + 0 },
 
421
        { "keymap", "3uhu", types + 0 },
 
422
        { "enter", "3uoa", types + 79 },
 
423
        { "leave", "3uo", types + 82 },
 
424
        { "key", "3uuuu", types + 0 },
 
425
        { "modifiers", "3uuuuu", types + 0 },
419
426
};
420
427
 
421
428
WL_EXPORT const struct wl_interface wl_keyboard_interface = {
422
 
        "wl_keyboard", 1,
423
 
        0, NULL,
 
429
        "wl_keyboard", 3,
 
430
        1, wl_keyboard_requests,
424
431
        5, wl_keyboard_events,
425
432
};
426
433
 
 
434
static const struct wl_message wl_touch_requests[] = {
 
435
        { "release", "3", types + 0 },
 
436
};
 
437
 
427
438
static const struct wl_message wl_touch_events[] = {
428
 
        { "down", "uuoiff", types + 84 },
429
 
        { "up", "uui", types + 0 },
430
 
        { "motion", "uiff", types + 0 },
431
 
        { "frame", "", types + 0 },
432
 
        { "cancel", "", types + 0 },
 
439
        { "down", "3uuoiff", types + 84 },
 
440
        { "up", "3uui", types + 0 },
 
441
        { "motion", "3uiff", types + 0 },
 
442
        { "frame", "3", types + 0 },
 
443
        { "cancel", "3", types + 0 },
433
444
};
434
445
 
435
446
WL_EXPORT const struct wl_interface wl_touch_interface = {
436
 
        "wl_touch", 1,
437
 
        0, NULL,
 
447
        "wl_touch", 3,
 
448
        1, wl_touch_requests,
438
449
        5, wl_touch_events,
439
450
};
440
451
 
441
452
static const struct wl_message wl_output_events[] = {
442
453
        { "geometry", "iiiiissi", types + 0 },
443
454
        { "mode", "uiii", types + 0 },
 
455
        { "done", "2", types + 0 },
 
456
        { "scale", "2i", types + 0 },
444
457
};
445
458
 
446
459
WL_EXPORT const struct wl_interface wl_output_interface = {
447
 
        "wl_output", 1,
 
460
        "wl_output", 2,
448
461
        0, NULL,
449
 
        2, wl_output_events,
 
462
        4, wl_output_events,
450
463
};
451
464
 
452
465
static const struct wl_message wl_region_requests[] = {