You are not logged in.
When I click a task in the PyPanel bar, it doesn't have focus restored to it. It gets brought to the front of all my windows, but without focus.
My .pypanelrc has
#-------------------------------------
def taskButtonEvent(pp, button, task):
#-------------------------------------
""" Button event handler for the panel's tasks """
if button == 1:
pp.taskFocus(task)
which seems to indicate that the window should be getting focus, but alas it is not.
Is this normal? Does perhaps the problem lie with Openbox (which I'm running with pypanel).
Offline
I changed it to
for i in range(2):
pp.taskFocus(task)
for this reason.
Offline
Offline
Much appreciated, was playing around with the functions provided but is impossible to create that beaviour with only those , this should be default i guess or is it just openbox ? Wherever range(2) comes from its goooood
Offline