Spoiler:At this point, clicking on GZDoom does not properly focus it. While any window you had given focus to might appear to lose focus (indicated by the titlebar changing to the inactive colour), other things indicate that the window is still in focus, such as it being listed first in the alt-tab interface, and its icon on the taskbar being highlighted. In this state, GZDoom pulls the mouse cursor to the centre of its screen whenever the mouse moves, and it captures keyboard inputs. By pressing escape, part of this error shows up on-screen:
Spoiler:When GZDoom properly acquires focus (by eg. alt-tabbing to it or clicking its icon on the taskbar), the console shows the full error:
Code: Select all
VM execution aborted: Attempt to draw to screen outside a draw function
Called from Screen.DrawTexture [Native]
Called from ListMenuItemStaticPatch.Drawer at gzdoom.pk3:zscript/menu/listmenuitems.txt, line 90
Called from ListMenu.Drawer at gzdoom.pk3:zscript/menu/listmenu.txt, line 251