Commit 720ca63c authored by Matthias Clasen's avatar Matthias Clasen

wayland: Return NULL as the keyval name for 0

This is what the X11 backend does, and it makes the "NoSymbol"
disappear from menuitems that don't have an accelerator.
parent 94fe6cf8
......@@ -181,6 +181,8 @@ gdk_wayland_display_manager_get_keyval_name (GdkDisplayManager *manager,
switch (keyval)
case 0:
return NULL;
case GDK_KEY_Page_Up:
return "Page_Up";
case GDK_KEY_Page_Down:
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