X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=gtk%2Fxoptions.c;h=7e91a249864f877e4f98d47c3faad9c3e4c461cb;hb=0278ebc80411a20fd23303156285e55ce8d2b0a5;hp=07295fd31b2c34dce47ec6dcbe2ca7c13df46178;hpb=c69adb9607f2d94e0a78261e4c3a05662e4243dd;p=xboard.git diff --git a/gtk/xoptions.c b/gtk/xoptions.c index 07295fd..7e91a24 100644 --- a/gtk/xoptions.c +++ b/gtk/xoptions.c @@ -1,7 +1,7 @@ /* * xoptions.c -- Move list window, part of X front end for XBoard * - * Copyright 2000, 2009, 2010, 2011, 2012, 2013, 2014, 2015 Free Software Foundation, Inc. + * Copyright 2000, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016 Free Software Foundation, Inc. * ------------------------------------------------------------------------ * * GNU XBoard is free software: you can redistribute it and/or modify @@ -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);