X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=libchimara%2Finput.c;h=a4511dc57306e6fc2dec661f5496d568b11c8fbf;hb=03f9a645b1d47373b778be3f3db1c0fa5c26a591;hp=4bb92645402f254461a37eb95781d2857820a336;hpb=30a24d6641c2e4a7c73c07c6d9f1b1dc8f074628;p=projects%2Fchimara%2Fchimara.git diff --git a/libchimara/input.c b/libchimara/input.c index 4bb9264..a4511dc 100644 --- a/libchimara/input.c +++ b/libchimara/input.c @@ -417,6 +417,8 @@ on_shutdown_key_press_event(GtkWidget *widget, GdkEventKey *event, winid_t win) gboolean on_char_input_key_press_event(GtkWidget *widget, GdkEventKey *event, winid_t win) { + /* Ignore modifier keys, otherwise the char input will already trigger on + the shift key when the user tries to type a capital letter */ if(event->is_modifier) return FALSE; /* don't stop the event */