mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-12 13:30:19 +00:00
gdk: Add a private getter for GdkDevice::input-mode
This commit is contained in:
parent
172093db8c
commit
7f4b575fc3
@ -2050,3 +2050,9 @@ gdk_device_update_tool (GdkDevice *device,
|
||||
g_signal_emit (device, signals[TOOL_CHANGED], 0, tool);
|
||||
}
|
||||
}
|
||||
|
||||
GdkInputMode
|
||||
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);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GDK_DEVICE_PRIVATE_H__ */
|
||||
|
Loading…
Reference in New Issue
Block a user