Usermode/axwin3 - Made menus auto-raised
authorJohn Hodge (sonata) <[email protected]>
Wed, 23 Jan 2013 10:29:50 +0000 (18:29 +0800)
committerJohn Hodge (sonata) <[email protected]>
Wed, 23 Jan 2013 10:29:50 +0000 (18:29 +0800)
Usermode/Applications/axwin3_src/WM/renderers/menu.c

index 9d2ecea..d353442 100644 (file)
@@ -367,6 +367,7 @@ int Renderer_Menu_HandleMessage(tWindow *Window, int Msg, int Length, const void
                        // TODO: This shouldn't really be done, instead focus should be given
                        //       when the menu is shown.
 //                     WM_FocusWindow(Window);
+                       WM_RaiseWindow(Window); // If it's shown, raise it to the heavens!
                }
                else
                {

UCC git Repository :: git.ucc.asn.au