[openbox] Openbox stay on top window

Matteo Brichese mbrichese at came.it
Fri May 3 08:43:20 EDT 2013


I've solved it with a little hack:

I've added this mouse bindings
<mouse>
 <context name="Frame">
    <mousebind button="Left" action="Press">
        <action name="RaiseLower"/>
    </mousebind>
 </context>
</mouse>

So, when I click on the QT app in the background it stay in the back.

Now I need to set a default size for a window, and that's seems to be another problem with that!
________________________________________
Da: openbox [openbox-bounces at icculus.org] per conto di Matteo Brichese [mbrichese at came.it]
Inviato: venerdì 3 maggio 2013 10.47
A: corenominal at corenominal.org; openbox mailing list
Oggetto: Re: [openbox] Openbox stay on top window

I'm investigating.

By now my rc file is this:

<openbox_config>
<applications>
  <application title="gst-launch-0.10">
    <decor>no</decor>
    <position force="yes">
        <x>320</x>
        <y>230</y>
    </position>
    <layer>above</layer>
    <skip_taskbar>yes</skip_taskbar>
    <skip_pager>yes</skip_pager>
    <focus>yes</focus>
  </application>
  <application title="Qt">
    <decor>no</decor>
    <layer>below</layer>
    <skip_taskbar>yes</skip_taskbar>
    <skip_pager>yes</skip_pager>
    <focus>no</focus>
  </application>
</applications>
</openbox_config>

and it works until I click on my Qt app, when I click my qt app gain focus and came to front.

---
Matteo Brichese
Software Engineer
mbrichese at came.it
Came Cancelli Automatici S.p.A.
www.came.com
________________________________________
Da: openbox [openbox-bounces at icculus.org] per conto di Philip Newborough [corenominal at corenominal.org]
Inviato: venerdì 3 maggio 2013 10.02
A: openbox mailing list
Oggetto: Re: [openbox] Openbox stay on top window

On Fri, May 3, 2013 at 8:31 AM, Matteo Brichese <mbrichese at came.it> wrote:
> No solution?
> I'm in an embedded environment, I've only 2 app, a QT application in fullscreen mode and a gst-launch application that have to show a video over the QT app.
>

Hmm, so is it possible to set the Qt app to always be on bottom? Or am
I being too simple? Sorry, I'm not familiar with gst-launch.

Philip
_______________________________________________
openbox mailing list
openbox at icculus.org
http://icculus.org/mailman/listinfo/openbox
_______________________________________________
openbox mailing list
openbox at icculus.org
http://icculus.org/mailman/listinfo/openbox


More information about the openbox mailing list