XBMC no longer responds to xboxdrv input without window focus?
#1
I used to run XBMC 9.11 on Ubuntu 9.10 (Karmic) - now I've upgraded to XBMC svn r35567 (installed from the team-xbmc-svn PPA) and Ubuntu 10.10 (Maverick), and although this is generally MUCH improved I have experienced one small "regression" in behavior.

I have a script that launches XBMC on a second X11 screen (DISPLAY=:0.1), and I configure it to start in windowed mode then used wmctrl to make it go fullscreen on that monitor. This script also starts xboxdrv to use an Xbox360 controller as input. I used this exact same configuration on both the old and new installation - what I like about this configuration is that XBMC doesn't capture the mouse, so I can freely move it between both displays and continue using applications on screen :0.0 while playing content in XBMC on screen :0.1.

The problem is that I used to be able to continue using the xbox controller to control XBMC even when XBMC didn't have the window focus. Now, as soon as I move the window focus to another application (e.g. click in a web browser), XBMC stops responding to events from the xbox controller. If I move focus back (by clicking anywhere in XBMC) it starts responding to the controller again.

Any advice on how I could get the old behavior back, where XBMC will keep responding to the xbox controller even without window focus? Is this due to a change in XBMC, or Ubuntu/Gnome, or something else entirely? Any tips for debugging/fixing this would be greatly appreciated, let me know if any additional information would help.
Reply
#2
OK it looks like the behavior was changed in r35431, here's the diff of the relevant change:
http://xbmc.svn.sourceforge.net/viewvc/x...2&r2=35431

and the ticket tracking this change in behavior: http://trac.xbmc.org/ticket/10747

I agree with the latest post on that ticket that this behavior should be toggled by a setting. I would be happy to try to implement this (although I've never worked on XBMC code before). Would advancedsettings.xml be the right place for this kind of setting to live? Should I post somewhere else / contact someone regarding making this change?
Reply
#3
I wrote a patch to add a setting for this, and uploaded it to http://trac.xbmc.org/ticket/10747

Is there anything else I need to do to get someone with commit access to look at this? Should I post somewhere else beyond the support forum? Thanks.
Reply

Logout Mark Read Team Forum Stats Members Help
XBMC no longer responds to xboxdrv input without window focus?0