You are not logged in.

#1 2008-01-24 01:15:37

rttommy
Member
Registered: 2007-12-27
Posts: 19

Openbox + Pypanel focus problem

Hi,
I recently tried openbox + pypanel combo, and I must I'm really impressed. However, the focusing of windows is annoying: When I click on one of pypanel's tasks, it only raises, and doesn't have focus. I must click again for that. I checked ~/pypanelrc, and it clearly specifies that it should:

    if button == 1:
        pp.taskFocus(task)

...

# taskFocus(task)
# - Give focus to the selected application, if it has focus then minimize it

Anyone has an idea?
Thanks in advance.
T

Offline

#2 2008-01-24 01:52:50

bionnaki
Member
Registered: 2006-09-05
Posts: 289

Re: Openbox + Pypanel focus problem

if button == 1:
        for i in range(2):
            pp.taskFocus(task)

Offline

#3 2008-02-15 20:00:10

wyvern
Member
From: 'Old' Scottish/English border.
Registered: 2008-01-06
Posts: 70

Re: Openbox + Pypanel focus problem

Thank you! I've only just started experimenting with a panel for Openbox, and pypanel seemed minimal enough for me - apart from that focusing issue.

big_smile

Offline

#4 2008-02-15 20:37:45

eerok
Member
From: Canada
Registered: 2005-03-20
Posts: 171

Re: Openbox + Pypanel focus problem

You can also set your focus model in openbox to "Focus windows when the mouse pointer moves over them" which is what I do.  I never noticed the problem you mentioned because my windows get focus as soon as the mouse touches them anyway.  Even though your problem is solved, you might like this focus model.


noobus in perpetuus

Offline

Board footer

Powered by FluxBB