From 08efec69c9d96e1ebeb0bb751aad3151e672573f Mon Sep 17 00:00:00 2001 From: Joshua Pettus Date: Fri, 29 Jan 2016 23:15:28 -0500 Subject: [PATCH] Bit more accelerator stuff Bit of code didn't do what I wanted it to and took away to many 'alt' flags --- gtk/xoptions.c | 6 ------ 1 files changed, 0 insertions(+), 6 deletions(-) diff --git a/gtk/xoptions.c b/gtk/xoptions.c index 07295fd..0f4ca2b 100644 --- a/gtk/xoptions.c +++ b/gtk/xoptions.c @@ -462,12 +462,6 @@ CreateMenuPopup (Option *opt, int n, int def) accelerator_mods |= GDK_META_MASK; accelerator_mods |= GDK_MOD1_MASK; } - if (accelerator_mods & GDK_SHIFT_MASK && - GDK_META_MASK && - GDK_MOD1_MASK - ) { // If there is a shift, we can get rid of alt as it is awfully cumbersome to press - accelerator_mods &= ~GDK_MOD1_MASK; // clear ALT flag - } #endif gtk_widget_add_accelerator (GTK_WIDGET(entry), "activate",GtkAccelerators, accelerator_key, accelerator_mods, GTK_ACCEL_VISIBLE); -- 1.7.0.4