--- menu.c 2018-08-01 15:28:41.585381517 -0300 +++ menu_fixed.c 2018-08-03 13:44:30.872439100 -0300 @@ -1771,7 +1771,7 @@ #define DETACH_OFFSET (12) {0, menu_detach, GTK_STOCK_REDO, M_MENUSTOCK, 0, 0, 1}, /* 12 */ #define CLOSE_OFFSET (13) - {0, menu_close, GTK_STOCK_CLOSE, M_MENUSTOCK, 0, 0, 1}, + {0, menu_close, GTK_STOCK_CLOSE, M_MENUSTOCK, 0, 0, 1, GDK_KEY_w}, {0, 0, 0, M_SEP, 0, 0, 0}, {N_("_Quit"), menu_quit, GTK_STOCK_QUIT, M_MENUSTOCK, 0, 0, 1, GDK_KEY_q}, /* 15 */