mirror of
https://github.com/lbonn/rofi
synced 2024-11-15 16:38:00 +00:00
x11-helper: Advertise the correct set of supported modifiers
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
This commit is contained in:
parent
5d7bf1cfcf
commit
3a781d6fb9
1 changed files with 1 additions and 2 deletions
|
@ -459,8 +459,7 @@ gboolean x11_parse_key ( char *combo, unsigned int *mod, xkb_keysym_t *key )
|
|||
if ( sym == XKB_KEY_NoSymbol || ( !modmask && ( strchr ( combo, '-' ) || strchr ( combo, '+' ) ) ) ) {
|
||||
g_string_append_printf ( str, "Sorry, rofi cannot understand the key combination: <i>%s</i>\n", combo );
|
||||
g_string_append ( str, "\nRofi supports the following modifiers:\n\t" );
|
||||
g_string_append ( str, "<i>Shift,Control,Alt,AltGR,SuperL,SuperR," );
|
||||
g_string_append ( str, "MetaL,MetaR,HyperL,HyperR</i>" );
|
||||
g_string_append ( str, "<i>Shift,Control,Alt,Super,Meta,Hyper</i>" );
|
||||
if ( seen_mod ) {
|
||||
g_string_append ( str, "\n\n<b>Mod1,Mod2,Mod3,Mod4,Mod5 are no longer supported, use one of the above.</b>" );
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue