Interface WlSeatRequestsV9
- All Superinterfaces:
WlSeatRequests,WlSeatRequestsV2,WlSeatRequestsV3,WlSeatRequestsV4,WlSeatRequestsV5,WlSeatRequestsV6,WlSeatRequestsV7,WlSeatRequestsV8
A seat is a group of keyboards, pointer and touch devices. This object is published as a global during start up, or when such a device is hot plugged. A seat typically has a pointer and maintains a keyboard focus and a pointer focus.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidgetKeyboard(WlSeatResource requester, int id) return keyboard objectvoidgetPointer(WlSeatResource requester, int id) return pointer objectvoidgetTouch(WlSeatResource requester, int id) return touch objectvoidrelease(WlSeatResource requester) release the seat object
-
Field Details
-
VERSION
static final int VERSION- See Also:
-
-
Method Details
-
getPointer
return pointer objectThe ID provided will be initialized to the wl_pointer interface for this seat.
This request only takes effect if the seat has the pointer capability, or has had the pointer capability in the past. It is a protocol violation to issue this request on a seat that has never had the pointer capability. The missing_capability error will be sent in this case.
- Specified by:
getPointerin interfaceWlSeatRequests- Specified by:
getPointerin interfaceWlSeatRequestsV2- Specified by:
getPointerin interfaceWlSeatRequestsV3- Specified by:
getPointerin interfaceWlSeatRequestsV4- Specified by:
getPointerin interfaceWlSeatRequestsV5- Specified by:
getPointerin interfaceWlSeatRequestsV6- Specified by:
getPointerin interfaceWlSeatRequestsV7- Specified by:
getPointerin interfaceWlSeatRequestsV8- Parameters:
requester- The protocol object that made the request.id- seat pointer
-
getKeyboard
return keyboard objectThe ID provided will be initialized to the wl_keyboard interface for this seat.
This request only takes effect if the seat has the keyboard capability, or has had the keyboard capability in the past. It is a protocol violation to issue this request on a seat that has never had the keyboard capability. The missing_capability error will be sent in this case.
- Specified by:
getKeyboardin interfaceWlSeatRequests- Specified by:
getKeyboardin interfaceWlSeatRequestsV2- Specified by:
getKeyboardin interfaceWlSeatRequestsV3- Specified by:
getKeyboardin interfaceWlSeatRequestsV4- Specified by:
getKeyboardin interfaceWlSeatRequestsV5- Specified by:
getKeyboardin interfaceWlSeatRequestsV6- Specified by:
getKeyboardin interfaceWlSeatRequestsV7- Specified by:
getKeyboardin interfaceWlSeatRequestsV8- Parameters:
requester- The protocol object that made the request.id- seat keyboard
-
getTouch
return touch objectThe ID provided will be initialized to the wl_touch interface for this seat.
This request only takes effect if the seat has the touch capability, or has had the touch capability in the past. It is a protocol violation to issue this request on a seat that has never had the touch capability. The missing_capability error will be sent in this case.
- Specified by:
getTouchin interfaceWlSeatRequests- Specified by:
getTouchin interfaceWlSeatRequestsV2- Specified by:
getTouchin interfaceWlSeatRequestsV3- Specified by:
getTouchin interfaceWlSeatRequestsV4- Specified by:
getTouchin interfaceWlSeatRequestsV5- Specified by:
getTouchin interfaceWlSeatRequestsV6- Specified by:
getTouchin interfaceWlSeatRequestsV7- Specified by:
getTouchin interfaceWlSeatRequestsV8- Parameters:
requester- The protocol object that made the request.id- seat touch interface
-
release
release the seat objectUsing this request a client can tell the server that it is not going to use the seat object anymore.
- Specified by:
releasein interfaceWlSeatRequestsV5- Specified by:
releasein interfaceWlSeatRequestsV6- Specified by:
releasein interfaceWlSeatRequestsV7- Specified by:
releasein interfaceWlSeatRequestsV8- Parameters:
requester- The protocol object that made the request.
-