diff options
author | Matthias Clasen <mclasen@redhat.com> | 2020-04-05 00:37:23 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2020-04-05 23:43:41 -0400 |
commit | 416ec580dc457e8bfc645fd364a14aaab637f47d (patch) | |
tree | 46f08f6cae0323f89afa0fa5e01a0e1ed9bfb04e /gdk/gdkdisplay.c | |
parent | ee14be8ac1072b32e260d45b24434b92b385a0b3 (diff) | |
download | gtk+-416ec580dc457e8bfc645fd364a14aaab637f47d.tar.gz |
gdk: Move modifier mask api to GdkDisplay
GdkKeymap is on the way out.
Diffstat (limited to 'gdk/gdkdisplay.c')
-rw-r--r-- | gdk/gdkdisplay.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gdk/gdkdisplay.c b/gdk/gdkdisplay.c index e402a929d1..ce3963a542 100644 --- a/gdk/gdkdisplay.c +++ b/gdk/gdkdisplay.c @@ -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); +} |