mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-21 21:38:00 +01:00
Enable usermenu
This patch enables the usermenu when the application is launched and the usermenu file exists. Signed-off-by: Rodolfo García Peñas (kix) <kix@kix.es>
This commit is contained in:
committed by
Carlos R. Mafra
parent
2fec5f9f28
commit
97189ce2cc
@@ -129,6 +129,8 @@ WApplication *wApplicationCreate(WWindow * wwin)
|
||||
#ifdef USER_MENU
|
||||
if (!wapp->menu)
|
||||
wapp->menu = wUserMenuGet(scr, wapp->main_window_desc);
|
||||
|
||||
wAppMenuMap(wapp->menu, wwin);
|
||||
#endif
|
||||
|
||||
/* Set application wide attributes from the leader */
|
||||
|
||||
Reference in New Issue
Block a user