summaryrefslogtreecommitdiff
path: root/src/ui
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2002-08-22 01:51:32 +0000
committerTim Angus <tim@ngus.net>2002-08-22 01:51:32 +0000
commit852a1eed8e0795adb41d0155ce232159111f071e (patch)
tree6f9cc2c4fed6db40249387c2e59adb431fa1c883 /src/ui
parent27363e40aed5f65658c6c48d2b2eea22fa136b3a (diff)
* Fixed medistat bugs
* Forced focus on menu load
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/ui_shared.c1
1 files changed, 1 insertions, 0 deletions
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;
}