[gnome-robots/arnaudb/wip/gtk4: 36/45] Replace MOD1 by ALT.
- From: Arnaud B. <arnaudb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-robots/arnaudb/wip/gtk4: 36/45] Replace MOD1 by ALT.
- Date: Tue, 15 Sep 2020 14:46:49 +0000 (UTC)
commit 3ffaf9ff517e4633c4d97ce9c9a578de01952bf6
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date: Mon May 25 20:52:57 2020 +0200
Replace MOD1 by ALT.
src/keyboard.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/keyboard.c b/src/keyboard.c
index 04aa968..5aecd04 100644
--- a/src/keyboard.c
+++ b/src/keyboard.c
@@ -90,7 +90,7 @@ keyboard_cb (GtkEventControllerKey *controller,
* if N is used as a key, then Ctrl-N is never picked up. The cleaner
* option, making the signal a connect_after signal skims the arrow keys
* before we can get to them which is a bigger problem. */
- if (state & (GDK_CONTROL_MASK | GDK_MOD1_MASK))
+ if (state & (GDK_CONTROL_MASK | GDK_ALT_MASK))
return FALSE;
keyval = toupper (keyval);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]