From 852a1eed8e0795adb41d0155ce232159111f071e Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Thu, 22 Aug 2002 01:51:32 +0000 Subject: * Fixed medistat bugs * Forced focus on menu load --- src/ui/ui_shared.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/ui') diff --git a/src/ui/ui_shared.c b/src/ui/ui_shared.c index 39d48b69..8c4ae3e8 100644 --- a/src/ui/ui_shared.c +++ b/src/ui/ui_shared.c @@ -4166,6 +4166,7 @@ menuDef_t *Menus_ActivateByName(const char *p) { if (Q_stricmp(Menus[i].window.name, p) == 0) { m = &Menus[i]; Menus_Activate(m); + Menu_HandleMouseMove( m, DC->cursorx, DC->cursory ); //TA: force the item under the cursor to focus if (openMenuCount < MAX_OPEN_MENUS && focus != NULL) { menuStack[openMenuCount++] = focus; } -- cgit