mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-26 07:54:36 +00:00
Only request attention if window has no focus.
This commit is contained in:
parent
b66c3a0e30
commit
d0968844d8
@ -152,9 +152,12 @@ void Backend::Run()
|
||||
}
|
||||
|
||||
void Backend::Attention()
|
||||
{
|
||||
if( !glfwGetWindowAttrib( s_window, GLFW_FOCUSED ) )
|
||||
{
|
||||
glfwRequestWindowAttention( s_window );
|
||||
}
|
||||
}
|
||||
|
||||
void Backend::NewFrame( int& w, int& h )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user