path of setResolution changed from ~/.retrorig/RetroRig/scripts to ~/.retrorig/scripts
new function raiseMainWindow called in toggleFullscreenRoot ()
new splash screens
I've added XRaiseWindow from XLib to toggleFullscreenRoot. That's the function that is called from RCB before and after a game launch that had put it in windowed mode before. In RCB I've commented the first of the two calls. So now only on game exit toggleFullscreenRoot will be called. Toggling fullscreen mode is still disabled, xbmc will only be raised to the foreground.
I've also deleted some compiled python scripts and my former attempt to raise xbmc bringOnTop.sh.
Furthermore I've changed setup.sh to test for existing system files before copying (rescan/retro-icon.ong/startXBMC.sh and so on). Folder $scriptdir/scripts is not linked to $rootdir/scripts anymore, only to $config_home/scripts. This way scripts is hidden from the end-user.
This should fix your issue with xbmc and the Ubuntu launch or status bar. I had difficulties reproducing this bug tonight, though I've seen this myself many times before. I only managed to lower xbmc in windowed mode behind a different application. On game exit it was correctly moved to the top.
Man, it's good you mentioned this bug, it's been annoying me for a long time. And I'm glad that it's finally squashed! I'm pretty positive that this will work with all desktops and window managers.
New in xbmc:
setResolution
changed from~/.retrorig/RetroRig/scripts
to~/.retrorig/scripts
I've added
XRaiseWindow
from XLib totoggleFullscreenRoot
. That's the function that is called from RCB before and after a game launch that had put it in windowed mode before. In RCB I've commented the first of the two calls. So now only on game exittoggleFullscreenRoot
will be called. Toggling fullscreen mode is still disabled, xbmc will only be raised to the foreground.I've also deleted some compiled python scripts and my former attempt to raise xbmc
bringOnTop.sh
.Furthermore I've changed
setup.sh
to test for existing system files before copying (rescan/retro-icon.ong/startXBMC.sh and so on). Folder$scriptdir/scripts
is not linked to$rootdir/scripts
anymore, only to$config_home/scripts
. This wayscripts
is hidden from the end-user.This should fix your issue with xbmc and the Ubuntu launch or status bar. I had difficulties reproducing this bug tonight, though I've seen this myself many times before. I only managed to lower xbmc in windowed mode behind a different application. On game exit it was correctly moved to the top.
Man, it's good you mentioned this bug, it's been annoying me for a long time. And I'm glad that it's finally squashed! I'm pretty positive that this will work with all desktops and window managers.