After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 770142 - [Alt+Tab]ing back to the application doesn't resume the game.
[Alt+Tab]ing back to the application doesn't resume the game.
Status: RESOLVED FIXED
Product: gnome-games
Classification: Core
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: GNOME Games maintainers
GNOME Games maintainers
Depends on:
Blocks:
 
 
Reported: 2016-08-19 12:48 UTC by Adrien Plazas
Modified: 2016-08-19 19:59 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
ui: Update pause/resume when window change toplevel focus (1.94 KB, patch)
2016-08-19 19:50 UTC, Adrien Plazas
committed Details | Review

Description Adrien Plazas 2016-08-19 12:48:45 UTC
.
Comment 1 Adrien Plazas 2016-08-19 19:50:54 UTC
Created attachment 333695 [details] [review]
ui: Update pause/resume when window change toplevel focus

Pause or resume the game when the window gains or looses toplevel focus rather than when the window's state changes.

This avoids bugs not resuming the game when quickly switcing back to the
window with Alt+Tab.
Comment 2 Adrien Plazas 2016-08-19 19:59:15 UTC
Attachment 333695 [details] pushed as 4bd031f - ui: Update pause/resume when window change toplevel focus