[openbox] openbox menus called from xlib

Dana Jansens dana at orodu.net
Tue Aug 30 12:18:54 EDT 2011


On Mon, Mar 7, 2011 at 4:16 PM, Petr Vanek <petr at scribus.info> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> hi all,
>
> I need to implement something to be able to call openbox menu(s) when
> user clicks on my app main widget (fullscreen, the first app in the
> openbox session).
>
> I try to do it this way:
> http://pastebin.com/azeN8Rvp
>
> But it looks like it works for normal windows but not for root one -
> the app menu is shown for eg. terminal window.
>
> Are openbox menus handled over Xlib mouse Xevents? Or are they handled
> in another way?

They are currently opened only thru Openbox actions, which are only
accessible via keyboard or mouse bindings.  I'd like to change this in
the future but atm that's what we've got.

> thanks,
> Petr
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.15 (GNU/Linux)
> Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/
>
> iQEcBAEBAgAGBQJNdUs9AAoJEC8yRjM4uE2tpqwH/1ttxwWpBMejTK4fWqtkMMIM
> 5CgeNdUHAwZGQvp3EHZg+THQy4k0CWY4QsYE2XvluXQYHnIOKsFIJbbWkMH3URWH
> LDPXMacA+s2kNENzM4KbF2y3MfL2XSk9O0388t5yWRtw9V7FAzo057gvWEouRvf4
> prf3piwuJDKnc3vzr26xtz/X0Kdd13I3Wuuk7uLiuD6IPpWNPaAxjwiBxqVwE8Ni
> YRlEgFmA5+5EJ3BS02XTQGFEdf42CdmpRwkAJ5XmstHRFfH0517ztkW5e97lcnys
> s7bVjJNNbWk56Ee7MWxj+WRq+Cu2mrMRONopgMlFfzcKkufDxhkg8FoBR0noKmM=
> =Mehi
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> openbox mailing list
> openbox at icculus.org
> http://icculus.org/mailman/listinfo/openbox
>


More information about the openbox mailing list