Compare commits

...
2 Commits
3 changed files with 8 additions and 5 deletions
+2 -2
View File
@@ -23,9 +23,9 @@
<key>NSSupportsAutomaticGraphicsSwitching</key>
<true/>
<key>CFBundleVersion</key>
<string>0.5.0</string>
<string>0.5.1</string>
<key>CFBundleShortVersionString</key>
<string>0.5.0</string>
<string>0.5.1</string>
<key>CFBundleDisplayName</key>
<string>Moonlight</string>
</dict>
+2 -2
View File
@@ -260,5 +260,5 @@ macx {
QMAKE_BUNDLE_DATA += APP_BUNDLE_RESOURCES
}
VERSION = 0.5.0
DEFINES += VERSION_STR=\\\"0.5.0\\\"
VERSION = 0.5.1
DEFINES += VERSION_STR=\\\"0.5.1\\\"
+4 -1
View File
@@ -980,7 +980,10 @@ void Session::exec(int displayOriginX, int displayOriginY)
// Release mouse cursor when another window is activated (e.g. by using ALT+TAB).
// This lets user to interact with our window's title bar and with the buttons in it.
if (event.window.event == SDL_WINDOWEVENT_FOCUS_LOST) {
// Doing this while the window is full-screen breaks the transition out of FS
// (desktop and exclusive), so we must check for that before releasing mouse capture.
if (event.window.event == SDL_WINDOWEVENT_FOCUS_LOST &&
!(SDL_GetWindowFlags(m_Window) & SDL_WINDOW_FULLSCREEN)) {
SDL_SetRelativeMouseMode(SDL_FALSE);
}