Re: Help with appmenu [was: Re: Question about menus (usermenu, appmenu)]
"Rodolfo García Peñas (kix)" <[email protected]>
| Newsgroups | gmane.compw.window-managers.windowmaker.devel |
|---|---|
| Message-ID | <[email protected]> |
Josip Deanovic <[email protected]> escribió: > 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----- Yes!! I downloaded wterm (http://sourceforge.net/p/wterm/code/) and I can see the menu. Thanks a lot. Amazing! Image attached. > > 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? IMO we should hold this menu. Cheers, kix. Rodolfo García Peñas (kix) http://www.kix.es/
gkrellShoot_08-25-15_164934.jpg
(image/jpeg, 149.1 KB) - not displayed