Commit 416ec580 authored by Matthias Clasen's avatar Matthias Clasen
Browse files

gdk: Move modifier mask api to GdkDisplay

GdkKeymap is on the way out.
parent ee14be8a
......@@ -1711,3 +1711,10 @@ gdk_display_set_cursor_theme (GdkDisplay *display,
if (GDK_DISPLAY_GET_CLASS (display)->set_cursor_theme)
GDK_DISPLAY_GET_CLASS (display)->set_cursor_theme (display, name, size);
}
GdkModifierType
gdk_display_get_modifier_mask (GdkDisplay *display,
GdkModifierIntent intent)
{
return gdk_keymap_get_modifier_mask (gdk_display_get_keymap (display), intent);
}
......@@ -118,6 +118,10 @@ GdkMonitor * gdk_display_get_monitor_at_surface (GdkDisplay *display,
GDK_AVAILABLE_IN_ALL
GdkKeymap * gdk_display_get_keymap (GdkDisplay *display);
GDK_AVAILABLE_IN_ALL
GdkModifierType gdk_display_get_modifier_mask (GdkDisplay *display,
GdkModifierIntent intent);
GDK_AVAILABLE_IN_ALL
gboolean gdk_display_get_setting (GdkDisplay *display,
const char *name,
......
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