[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openbox
Subject:    [openbox] openbox menus called from xlib
From:       dana () orodu ! net (Dana Jansens)
Date:       2011-08-30 16:18:54
Message-ID: CAP1a_acGgcz5ixCgOxv5cD8NMZOasE4rX0sAVV9+rmvqtW_Lgw () mail ! gmail ! com
[Download RAW message or body]

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
>

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic