| 1 |
The following two files are generated with wayland-scanner: |
| 2 |
|
| 3 |
input-method-protocol.c |
| 4 |
input-method-client-protocol.h |
| 5 |
|
| 6 |
We include them in the distribution instead of generating them, since |
| 7 |
the Wayland protocol structure will unlikely change. Do not modify |
| 8 |
those files manually. |
| 9 |
|
| 10 |
To generate them, use the wayland-scanner command as follows. You can |
| 11 |
find input-method.xml in the Weston source code (maybe it will be |
| 12 |
moved to the Wayland source code later). |
| 13 |
|
| 14 |
$ wayland-scanner code < input-method.xml \ |
| 15 |
> input-method-protocol.c |
| 16 |
$ wayland-scanner client-header < input-method.xml \ |
| 17 |
> input-method-client-protocol.h |