<div dir="ltr">Well according to the debug info, it's a feature :<br><br>Openbox-Debug: (FOCUS) focus_set_client 0x400003<br>Openbox-Debug: (FOCUS) ignoring enters from 2374 until 2374<br>Openbox-Debug: (FOCUS) EnterNotify mode 0 detail 4 serial 2374 on 400003, focusing window<br>
Openbox-Debug: (FOCUS) ignoring enters from 2973 until 2974<br>Openbox-Debug: (FOCUS) Going to try activate new window? yes<br>Openbox-Debug: (FOCUS) Want to focus window 0xa00003 at time 688833456 launched at 0 (last user interaction time 688832174)<br>
Openbox-Debug: (FOCUS) Not focusing the window because it is on another desktop and no relatives are focused <br>Openbox-Debug: (FOCUS) Focus stealing prevention activated for (Untitled) at time 688833456 (last user interaction time 688832174)<br>
Openbox-Debug: (FOCUS) ignoring enters from 3101 until 3100<br>Openbox-Debug: (FOCUS) Frame for 0xa00003 has focus: 1<br><br><br>Looking ( briefly ) at the code,the code is at client.c ( lines 780 - 792 ) .<br>I can't find any nice way around this ( I can always delete it and recompile ) .<br>
<br>Any thoughts ?<br><br>-Mark.<br><br><div class="gmail_quote">On Sat, Sep 4, 2010 at 1:10 AM, Dana Jansens <span dir="ltr"><<a href="mailto:dana@orodu.net">dana@orodu.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im">On Fri, Sep 3, 2010 at 2:55 PM, Mark Bloch <<a href="mailto:mark.bl@gmail.com">mark.bl@gmail.com</a>> wrote:<br>
> I just would like to add that is seems that a new window is given focus only<br>
> if I'm not inside an application.<br>
><br>
> for example: if I'm on desktop 1 ,no application running on that desktop,<br>
> and try to open an application on desktop 3, it gives focus to the new<br>
> application.<br>
><br>
> if I'm on desktop 1 inside firefox ( for example ) and try to open an<br>
> application on desktop 3 it doesn't give that application focus.<br>
><br>
> is that a feature or a bug ? if a feature can I change it ?<br>
<br>
</div>probably a bug.<br>
<div class="im"><br>
<br>
> On Sat, Sep 4, 2010 at 12:41 AM, Mark Bloch <<a href="mailto:mark.bl@gmail.com">mark.bl@gmail.com</a>> wrote:<br>
>><br>
>> Hi,<br>
>><br>
>> Thx for the tip, I've gone ahead and installed openbox from the git repo.<br>
>> It seems to work but not very reliably, in fact it works only with one<br>
>> program ( lilyterm , and even with that, not always ) but not with :<br>
>> mousepad, firefox, geany or chrome .<br>
>><br>
>> is there any log files or anything I can look into in order to find out<br>
>> why it's not working?<br>
<br>
</div>run openbox --debug and look at its stdout, or in ~/.cache/openbox.log<br>
<div><div></div><div class="h5"><br>
<br>
>> - Mark .<br>
>><br>
>> On Fri, Sep 3, 2010 at 11:21 PM, Dana Jansens <<a href="mailto:dana@orodu.net">dana@orodu.net</a>> wrote:<br>
>>><br>
>>> On Fri, Sep 3, 2010 at 5:22 AM, Mark Bloch <<a href="mailto:mark.bl@gmail.com">mark.bl@gmail.com</a>> wrote:<br>
>>> > Hi,<br>
>>> ><br>
>>> > I have a problem with my openbox configuration.<br>
>>> > I have these options in my rc.xml file:<br>
>>> > <focusNew>yes</focusNew><br>
>>> ><br>
>>> > and I have this keybind:<br>
>>> > <keybind key="C-l"><br>
>>> > <keybind key="f"><br>
>>> > <action name="Execute"><br>
>>> > <command>firefox-bin</command><br>
>>> > </action><br>
>>> > </keybind><br>
>>> > </keybind><br>
>>> ><br>
>>> > under <applications> I have:<br>
>>> > <focus>yes</focus><br>
>>> ><br>
>>> > and this:<br>
>>> > <application<br>
>>> > name="firefox*"><desktop>1</desktop><raise>yes</raise></application><br>
>>> ><br>
>>> > .<br>
>>> ><br>
>>> > Everything works fine, when I press the keybind combo, firefox is<br>
>>> > lunched on<br>
>>> > desktop #1, the problem is, it doesn't get focus!<br>
>>> > I have to switch manually to desktop #1.<br>
>>> ><br>
>>> > I want it to get focus when it's lunched, is there something I'm<br>
>>> > missing?<br>
>>><br>
>>> This was brought up in the past on here, or on IRC. The <focus> flag<br>
>>> will cause openbox to move to the application's desktop in our git<br>
>>> version. In 3.4.x it doesn't do this.<br>
>>><br>
>>><br>
>>> - Dana<br>
>>><br>
>>> > Thanks for the help,<br>
>>> > Mark Bloch.<br>
>>> ><br>
>>> > _______________________________________________<br>
>>> > openbox mailing list<br>
>>> > <a href="mailto:openbox@icculus.org">openbox@icculus.org</a><br>
>>> > <a href="http://icculus.org/mailman/listinfo/openbox" target="_blank">http://icculus.org/mailman/listinfo/openbox</a><br>
>>> ><br>
>>> ><br>
>>> _______________________________________________<br>
>>> openbox mailing list<br>
>>> <a href="mailto:openbox@icculus.org">openbox@icculus.org</a><br>
>>> <a href="http://icculus.org/mailman/listinfo/openbox" target="_blank">http://icculus.org/mailman/listinfo/openbox</a><br>
>><br>
><br>
><br>
> _______________________________________________<br>
> openbox mailing list<br>
> <a href="mailto:openbox@icculus.org">openbox@icculus.org</a><br>
> <a href="http://icculus.org/mailman/listinfo/openbox" target="_blank">http://icculus.org/mailman/listinfo/openbox</a><br>
><br>
><br>
_______________________________________________<br>
openbox mailing list<br>
<a href="mailto:openbox@icculus.org">openbox@icculus.org</a><br>
<a href="http://icculus.org/mailman/listinfo/openbox" target="_blank">http://icculus.org/mailman/listinfo/openbox</a><br>
</div></div></blockquote></div><br></div>