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

Flash netplay window when someone joins if the window doesn't have focus... #391

Merged
merged 1 commit into from Jun 7, 2014

Conversation

RachelBryk
Copy link
Member

....

bool focus = (wxWindow::FindFocus() == this || (wxWindow::FindFocus() != NULL && wxWindow::FindFocus()->GetParent() == this) ||
(wxWindow::FindFocus() != NULL && wxWindow::FindFocus()->GetParent() != NULL
&& wxWindow::FindFocus()->GetParent()->GetParent() == this));
if (netplay_server != NULL && numPlayers < m_playerids.size() && !focus)

This comment was marked as off-topic.

RequestUserAttention();
}
numPlayers = m_playerids.size();

This comment was marked as off-topic.

@Sonicadvance1
Copy link
Contributor

SGTM.

Sonicadvance1 added a commit that referenced this pull request Jun 7, 2014
Flash netplay window when someone joins if the window doesn't have focus...
@Sonicadvance1 Sonicadvance1 merged commit 103d900 into dolphin-emu:master Jun 7, 2014
@RachelBryk RachelBryk deleted the netplay-flash-on-join branch July 6, 2014 06:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants