Commit 7f4b575f authored by Matthias Clasen's avatar Matthias Clasen

gdk: Add a private getter for GdkDevice::input-mode

parent 172093db
......@@ -2050,3 +2050,9 @@ gdk_device_update_tool (GdkDevice *device,
g_signal_emit (device, signals[TOOL_CHANGED], 0, tool);
gdk_device_get_input_mode (GdkDevice *device)
return device->mode;
......@@ -189,6 +189,8 @@ void gdk_device_set_seat (GdkDevice *device,
void gdk_device_update_tool (GdkDevice *device,
GdkDeviceTool *tool);
GdkInputMode gdk_device_get_input_mode (GdkDevice *device);
#endif /* __GDK_DEVICE_PRIVATE_H__ */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment