mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-06-02 09:31:12 +00:00
[qwaq] Actually send on receive/release focus messages
Noticed while tracking down the proxy view switch issue.
This commit is contained in:
parent
dbb3802740
commit
30b97af65a
1 changed files with 2 additions and 0 deletions
|
@ -274,12 +274,14 @@ updateScreenCursor (View *view)
|
||||||
-takeFocus
|
-takeFocus
|
||||||
{
|
{
|
||||||
state |= sfInFocus;
|
state |= sfInFocus;
|
||||||
|
[onReceiveFocus respond:self];
|
||||||
return self;
|
return self;
|
||||||
}
|
}
|
||||||
|
|
||||||
-loseFocus
|
-loseFocus
|
||||||
{
|
{
|
||||||
state &= ~sfInFocus;
|
state &= ~sfInFocus;
|
||||||
|
[onReleaseFocus respond:self];
|
||||||
return self;
|
return self;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue