Re: Help with appmenu [was: Re: Question about menus (usermenu, appmenu)]

Josip Deanovic <[email protected]>
Newsgroups gmane.compw.window-managers.windowmaker.devel
Message-ID <3923985.gRkKKJNz7r@libria>
On Tuesday 2015-08-25 07:54:03 Rodolfo García  Peñas wrote:
> Hello,
> 
> ok, the usermenu is now clear. IMO, we can improve this menu, for  
> example to send text to xterms or similar (menu with "ssh -l user  
> example.com" could be nice).
> 
> But my problem now is related to appmenu. I don't know how this menu  
> is used by the user, and how is configured. It includes X11 calls to  
> create a menu and store it in wapp->menu (usermenu uses the same  
> pointer).
> 
> Help about it is very appreciated.

I have found this excerpt in NEWS file, it is related to Shared
application icons but there is some info about appmenu:

-----BEGIN-----
As a side note: wterm can use the shared appicon feature as long as it
doesn't use the appmenu (will do this by default). If you start it
using the appmenu (wterm -wm) it will disable the shared appicon
feature because apps with appmenus are incompatible with this feature.

If an application is a GNUstep application or if it has an appmenu, it's
detected automatically and the shared appicon is disabled automatically
without any user intervention or need to configure anything.
-----END-----


I have installed some GNUstep applications just to check their window
properties. I would say that what makes a GNUstep application recognizable
is the WM_CLASS set to GNUstep.

From the excerpt above I would speculate that appmenu is not a
configurable option which could be used for any application but the
feature of an application.
I am speculating here but it might be that an application need to
create a window of a docked type and with some appropriate hints (skip 
taskbar, skip pager, sticky and so on) which would then act as an appmenu.

Is there something in a code that would support this?

-- 
Josip Deanovic


-- 
To unsubscribe, send mail to [email protected].
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.