mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-02-25 13:11:00 +00:00
[input] Fully initialize the focus event
This commit is contained in:
parent
7509916d71
commit
cf814cd9d1
1 changed files with 1 additions and 1 deletions
|
@ -107,7 +107,7 @@ IE_Set_Focus (int handle)
|
||||||
{
|
{
|
||||||
unsigned h = handle;
|
unsigned h = handle;
|
||||||
if (h < ie_handlers.size && ie_handlers.a[handle].handler && focus != h) {
|
if (h < ie_handlers.size && ie_handlers.a[handle].handler && focus != h) {
|
||||||
IE_event_t event;
|
IE_event_t event = { };
|
||||||
event.type = ie_lose_focus;
|
event.type = ie_lose_focus;
|
||||||
IE_Send_Event (&event);
|
IE_Send_Event (&event);
|
||||||
focus = handle;
|
focus = handle;
|
||||||
|
|
Loading…
Reference in a new issue