[openbox] openbox menus called from xlib

Petr Vanek petr at scribus.info
Mon Mar 7 16:16:45 EST 2011


-----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?

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-----



More information about the openbox mailing list