projects
/
vuplus_xbmc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
53c5696
)
[osx] - on resume don't toggle windowed/fullscreen - this leads to moving XBMC to...
author
Memphiz
<memphis@machzwo.de>
Sat, 19 Jan 2013 00:05:17 +0000
(
01:05
+0100)
committer
S. Davilla
<davilla@4pi.com>
Sat, 19 Jan 2013 16:30:37 +0000
(11:30 -0500)
xbmc/powermanagement/PowerManager.cpp
patch
|
blob
|
history
diff --git
a/xbmc/powermanagement/PowerManager.cpp
b/xbmc/powermanagement/PowerManager.cpp
index
9f3e437
..
74d9bd1
100644
(file)
--- a/
xbmc/powermanagement/PowerManager.cpp
+++ b/
xbmc/powermanagement/PowerManager.cpp
@@
-220,10
+220,10
@@
void CPowerManager::OnWake()
#if defined(HAS_SDL) || defined(TARGET_WINDOWS)
if (g_Windowing.IsFullScreen())
{
-#if
def _WIN32
+#if
defined(_WIN32)
ShowWindow(g_hWnd,SW_RESTORE);
SetForegroundWindow(g_hWnd);
-#els
e
+#els
if !defined(TARGET_DARWIN_OSX)
// Hack to reclaim focus, thus rehiding system mouse pointer.
// Surely there's a better way?
g_graphicsContext.ToggleFullScreenRoot();