Copyright (c) 2015 Codethink Ltd
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
This includes handling the existence of seats, seat capabilities,
seat acceptance and input focus.
Set input focus state of surface in ivi compositor. If the surface has input
focus, all non-graphical inputs (e.g. keyboard) are directed to the application
providing the content for this surface.
Multiple surfaces can have input focus at a time.
If argument enabled is ILM_TRUE, input focus for this surface is enabled.
If argument enabled is not ILM_TRUE, the input focus from this surface is removed.
The new input focus state is provided in argument enabled:
If enabled is ILM_TRUE, this surface now has input focus enabled.
If enabled is not ILM_TRUE, this surface no longer has input focus.
Set input acceptance of one seat for a surface. Surfaces may
accept input acceptance from multiple seats at once.
If argument 'accepted' is ILM_TRUE, the given seat's name will
be added to the list of accepted seats.
If argument 'accepted' is not ILM_TRUE, the given seat's name
will be removed from the list of accepted seats.
A surface has changed its input acceptance for a specific seat.
If argument 'accepted' is ILM_TRUE, the surface now accepts
the seat.
If argument 'accepted' is not ILM_TRUE, the surface no longer
accepts the seat.