Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Window Focus Event #827

Closed
bjornbytes opened this issue Dec 30, 2024 · 1 comment
Closed

Window Focus Event #827

bjornbytes opened this issue Dec 30, 2024 · 1 comment
Labels

Comments

@bjornbytes
Copy link
Owner

Discussed in chat. There's a lovr.focus event, but this is for the VR app focus, not the desktop window. Some options to expose it:

  • Could have both window focus and VR focus piped to lovr.focus, but this is ambiguous.
  • Could be a different windowfocus event.
  • Could be a 2nd parameter on lovr.focus. This is the preferred option.

There could also be a lovr.system.isWindowFocused getter.

Also, lovr.visible could have the same treatment.

@bjornbytes bjornbytes added the feature yay label Dec 30, 2024
@bjornbytes
Copy link
Owner Author

bjornbytes commented Dec 31, 2024

Closed by #828

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant