From 732b882583fc2cbe41e8ee2326fa0585fcdc2fc9 Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Sun, 31 Aug 2014 14:42:40 +0200 Subject: [PATCH] xbmc: disable minimize with PR5294 (to rework) Signed-off-by: Stephan Raue --- .../xbmc/patches/xbmc-999.93-fullscreen.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 packages/mediacenter/xbmc/patches/xbmc-999.93-fullscreen.patch diff --git a/packages/mediacenter/xbmc/patches/xbmc-999.93-fullscreen.patch b/packages/mediacenter/xbmc/patches/xbmc-999.93-fullscreen.patch new file mode 100644 index 0000000000..2cb29617d4 --- /dev/null +++ b/packages/mediacenter/xbmc/patches/xbmc-999.93-fullscreen.patch @@ -0,0 +1,11 @@ +diff -Naur xbmc-14-a29b21a/xbmc/windowing/X11/WinSystemX11.h xbmc-14-a29b21a.patch/xbmc/windowing/X11/WinSystemX11.h +--- xbmc-14-a29b21a/xbmc/windowing/X11/WinSystemX11.h 2014-08-24 17:41:42.000000000 +0200 ++++ xbmc-14-a29b21a.patch/xbmc/windowing/X11/WinSystemX11.h 2014-08-31 13:44:50.250774848 +0200 +@@ -47,6 +47,7 @@ + virtual bool ResizeWindow(int newWidth, int newHeight, int newLeft, int newTop); + virtual bool SetFullScreen(bool fullScreen, RESOLUTION_INFO& res, bool blankOtherDisplays); + virtual void UpdateResolutions(); ++ virtual bool CanDoWindowed() { return false; } + virtual int GetNumScreens() { return 1; } + virtual int GetCurrentScreen() { return m_nScreen; } + virtual void ShowOSMouse(bool show);