xbmc (Gotham) fully disable Minimize()

this doesn't play well with our WM. in both standalone/non-standalone mode
This commit is contained in:
Stefan Saraev 2013-10-12 16:20:48 +03:00
parent 494729cfc7
commit c80065b327
2 changed files with 18 additions and 12 deletions

View File

@ -1,12 +0,0 @@
diff --git a/xbmc/windowing/WinEventsSDL.cpp b/xbmc/windowing/WinEventsSDL.cpp
index c266c1e..9bfd6ac 100644
--- a/xbmc/windowing/WinEventsSDL.cpp
+++ b/xbmc/windowing/WinEventsSDL.cpp
@@ -439,7 +439,6 @@ bool CWinEventsSDL::ProcessLinuxShortcuts(SDL_Event& event)
switch(event.key.keysym.sym)
{
case SDLK_TAB: // ALT+TAB to minimize/hide
- g_application.Minimize();
return true;
default:
break;

View File

@ -0,0 +1,18 @@
commit 17807066bc04cd28bba89fd176d4d0f69ead9728
Author: Stefan Saraev <stefan@saraev.ca>
Date: Sat Oct 12 16:18:50 2013 +0300
disable minimize
diff --git a/xbmc/Application.cpp b/xbmc/Application.cpp
index b5d40c0..18bea9d 100644
--- a/xbmc/Application.cpp
+++ b/xbmc/Application.cpp
@@ -5448,7 +5448,6 @@ bool CApplication::SwitchToFullScreen()
void CApplication::Minimize()
{
- g_Windowing.Minimize();
}
PLAYERCOREID CApplication::GetCurrentPlayer()