the display for which to get the grab information
device to get the grab information from
location to store current grab window
location to store boolean indicating whether the @owner_events flag to gdk_keyboard_grab() or gdk_pointer_grab() was %TRUE.
Return: %TRUE if this application currently has the keyboard grabbed.
Determines information about the current keyboard grab. This is not public API and must not be used by applications.