From 7779776e80df646cf5bb891b4a0c1b229dd1fc90 Mon Sep 17 00:00:00 2001 From: Stephen Heumann Date: Sat, 20 Apr 2019 18:45:28 -0500 Subject: [PATCH] Properly highlight the window when bringing it to the front. This can happen if our extras menu item is selected when the window is already open but not at the front. Previously, it would come to the front but the highlighting would not update to make it look active. --- browserwindow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/browserwindow.c b/browserwindow.c index 02a796f..f1b1422 100644 --- a/browserwindow.c +++ b/browserwindow.c @@ -62,7 +62,7 @@ static void DrawButtonOutlines(boolean justChanged); void ShowBrowserWindow(void) { if (windowOpened) { - BringToFront(window); + SelectWindow(window); return; }