mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-23 04:42:32 +00:00
[console] Add a comment about console resizing
Due to design issues in the console API that I don't feel like addressing at this stage, the console view is not a child of the client's screen view (not even sure it should be in the first place), so it won't get resized automatically when the client's screen view resizes. However, ie_app_window is sent when the screen size changes, and the console has to process input events anyway, so it's quite reasonable to handle the event.
This commit is contained in:
parent
7e03f23146
commit
c580fb9ec7
1 changed files with 4 additions and 0 deletions
|
@ -678,6 +678,10 @@ exec_line (inputline_t *il)
|
|||
Con_ExecLine (il->line);
|
||||
}
|
||||
|
||||
// The console view is not a child of the client's screen view, so it won't
|
||||
// get resized automatically when the screen changes size. However, since the
|
||||
// console has to process input events anyway, handling ie_app_window is a
|
||||
// reasonable alternative.
|
||||
static void
|
||||
con_app_window (const IE_event_t *event)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue