2014-08-29, 14:22
(2014-08-29, 09:29)FernetMenta Wrote: All keyboard input is handled by XLib. If a window has focus, it receives the input. The only reason I can think of why you don't get input is that the window has no focus. Maybe you give the window focus by killing boblight. How exactly do you kill boblight? Can you attach a mouse and focus XBMC by clicking somewhere in the window? Would this change anything?
I plugged in a mouse and all I had to do was move the cursor outside of the boblight-v4l rendering area and xbmc started responding to the keys again. I did not have to click.
I think I know what's going on. In earlier versions of xbmc I'm almost positive the cursor started in the center of the screen, but now it's starting in the top left (which happens to be the corner that boblight-v4l uses to render).
I'm pretty sure X starts with the cursor in the middle, so is xbmc moving the cursor to the top left?