remote nc
[nedit-bw.git] / fix_background_menu.patch
blobdcb04c0b1ae02e3c843566ff8f7c8e8dff844901
1 Subject: fix background menu
3 With this I can use the background menu with numlock on.
5 ---
7 source/menu.c | 4 ++--
8 1 file changed, 2 insertions(+), 2 deletions(-)
10 diff --quilt old/source/menu.c new/source/menu.c
11 --- old/source/menu.c
12 +++ new/source/menu.c
13 @@ -5557,8 +5557,8 @@ Widget CreateBGMenu(WindowInfo *window)
14 with modifiers. I don't entirely understand why it works properly now
15 when it failed often in development, and certainly ignores the ~ syntax
16 in translation event specifications. */
17 - XtSetArg(args[0], XmNmenuPost, GetPrefBGMenuBtn());
18 - return CreatePopupMenu(window->textArea, "bgMenu", args, 1);
19 + /* XtSetArg(args[0], XmNmenuPost, GetPrefBGMenuBtn()); */
20 + return CreatePopupMenu(window->textArea, "bgMenu", args, 0);