From 889a5a2b3038012a2fddb09e946d1b324323b202 Mon Sep 17 00:00:00 2001 From: H.G. Muller Date: Fri, 22 Mar 2013 19:23:25 +0100 Subject: [PATCH] Make Chat Box window obey -topLevel option It was always popping up as a dialog of the main board, covering it. One could argue it should always be to-level. --- dialogs.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dialogs.c b/dialogs.c index caa98c4..f32b383 100644 --- a/dialogs.c +++ b/dialogs.c @@ -1698,7 +1698,7 @@ ChatSwitch (int n) void ChatProc () { - if(GenericPopUp(chatOptions, _("Chat box"), ChatDlg, BoardWindow, NONMODAL, 0)) + if(GenericPopUp(chatOptions, _("Chat box"), ChatDlg, BoardWindow, NONMODAL, appData.topLevel)) AddHandler(&chatOptions[0], ChatDlg, 2), AddHandler(&chatOptions[6], ChatDlg, 2); // treats return as OK MarkMenu("View.OpenChatWindow", ChatDlg); } -- 1.7.0.4