gtk/gdk/x11
Matthias Clasen 99c3928cec keymap: Cache key info
We currently calling gdk_display_map_keyval up to
once per key event per shortcut trigger, and that function
does an expensive loop over the entire keymap and
allocates an array. Avoid this by caching the entries
in a single array, and have a lookup table for finding
the entries for a keyval.

To do this, change the GdkKeymap.get_entries_for_keyval
signature, and change the ::keys-changed signal to be
RUN_FIRST, since we want to clear the cache in the class
handler before running signal handlers. These changes are
possible now, since keymaps are no longer public API.
2020-04-30 13:05:52 -04:00
..
gdkapplaunchcontext-x11.c
gdkasync.c
gdkasync.h
gdkcairocontext-x11.c
gdkcairocontext-x11.h
gdkclipboard-x11.c x11: Fix release build warnings 2020-01-18 11:49:16 -05:00
gdkclipboard-x11.h
gdkcursor-x11.c Remove primary monitor api 2020-01-30 21:33:37 +01:00
gdkdevice-xi2.c Drop root coordinates from _gdk_device_query_state 2020-03-12 15:30:11 -04:00
gdkdevicemanager-x11.c
gdkdevicemanager-xi2.c Restructure the GdkEvent type hierarchy 2020-04-16 19:54:02 +01:00
gdkdevicemanagerprivate-core.h
gdkdisplay-x11.c Restructure the GdkEvent type hierarchy 2020-04-16 19:54:02 +01:00
gdkdisplay-x11.h x11: Get rid of GdkAtom and APIs supporting it. 2020-02-23 01:59:26 +01:00
gdkdrag-x11.c Restructure the GdkEvent type hierarchy 2020-04-16 19:54:02 +01:00
gdkdrop-x11.c gdk: Make gdk_drop_status() take preferred action 2020-03-02 04:43:56 +01:00
gdkeventsource.c Restructure the GdkEvent type hierarchy 2020-04-16 19:54:02 +01:00
gdkeventsource.h
gdkeventtranslator.c x11: change event translator interface 2020-02-21 00:47:51 -05:00
gdkeventtranslator.h x11: change event translator interface 2020-02-21 00:47:51 -05:00
gdkglcontext-x11.c
gdkglcontext-x11.h
gdkkeys-x11.c keymap: Cache key info 2020-04-30 13:05:52 -04:00
gdkkeys-x11.h Rename gdkx11keys.h 2020-04-07 18:12:58 +01:00
gdkmain-x11.c
gdkmonitor-x11.c Move fullscreen-mode to GdkToplevel 2020-03-12 15:30:11 -04:00
gdkmonitor-x11.h
gdkprivate-x11.h x11: emit ::enter/leave-monitor 2020-04-16 16:23:57 +02:00
gdkproperty-x11.c x11: Get rid of GdkAtom and APIs supporting it. 2020-02-23 01:59:26 +01:00
gdkscreen-x11.c x11: Get rid of GdkAtom and APIs supporting it. 2020-02-23 01:59:26 +01:00
gdkscreen-x11.h x11: add support for _GTK_WORKAREAS_Dn 2020-01-29 14:38:08 +02:00
gdkselection-x11.c x11: Get rid of GdkAtom and APIs supporting it. 2020-02-23 01:59:26 +01:00
gdkselectioninputstream-x11.c
gdkselectioninputstream-x11.h
gdkselectionoutputstream-x11.c
gdkselectionoutputstream-x11.h
gdksettings.c
gdksurface-x11.c Restructure the GdkEvent type hierarchy 2020-04-16 19:54:02 +01:00
gdksurface-x11.h Remove GdkGeometry from public API 2020-04-19 10:41:18 -04:00
gdktextlistconverter-x11.c x11: Get rid of GdkAtom and APIs supporting it. 2020-02-23 01:59:26 +01:00
gdktextlistconverter-x11.h
gdkvisual-x11.c
gdkvisual-x11.h
gdkvulkancontext-x11.c
gdkvulkancontext-x11.h
gdkx11applaunchcontext.h
gdkx11device-xi2.h
gdkx11device.h
gdkx11devicemanager-xi2.h
gdkx11devicemanager.h
gdkx11display.h Remove primary monitor api 2020-01-30 21:33:37 +01:00
gdkx11dnd.h
gdkx11glcontext.h
gdkx11monitor.h
gdkx11property.h x11: Get rid of GdkAtom and APIs supporting it. 2020-02-23 01:59:26 +01:00
gdkx11screen.h x11: Get rid of GdkAtom and APIs supporting it. 2020-02-23 01:59:26 +01:00
gdkx11selection.h x11: Get rid of GdkAtom and APIs supporting it. 2020-02-23 01:59:26 +01:00
gdkx11surface.h
gdkx11utils.h
gdkx-autocleanups.h gdk: Make GdkKeymap a private api 2020-04-06 16:32:03 -04:00
gdkx.h gdk: Make GdkKeymap a private api 2020-04-06 16:32:03 -04:00
gdkxftdefaults.c Don't use xsettings or xft defaults in testsuite 2020-02-03 15:11:35 +01:00
gdkxid.c
meson.build Do not parse all GDK-X11 source files 2020-04-07 18:06:08 +01:00
MwmUtil.h
xsettings-client.c x11: Don't pass a GdkEvent to xsettings filters 2020-02-21 00:40:52 -05:00
xsettings-client.h x11: Don't pass a GdkEvent to xsettings filters 2020-02-21 00:40:52 -05:00