Skip to content

[Backport to 3.24] gdk: Add a GdkDevice layout index and name API

This is a backport to gtk 3.24 of the layouts API - Anaconda is still using gtk-3.

I know API addition to gtk 3 may not be acceptable, in the worst case, this can be kept as a reference if anyone needs this downstream. Alternatively, that might fit into a (future?) 3.26 branch instead (no idea if there is such plan).

On the flip side, that adds the layouts to the inspector as well, on both Wayland and X11.

Example use of that API in gtk-3.24 combined with libgnome-desktop-3.0 here: keymap3.c

Edited by Olivier Fourdan

Merge request reports

Loading