mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-21 05:18:06 +01:00
Update to Window Maker 0.50.2
This commit is contained in:
@@ -563,7 +563,7 @@ openApplicationMenu(WApplication *wapp, int x, int y)
|
||||
|
||||
if (!scr->icon_menu) {
|
||||
scr->icon_menu = createApplicationMenu(scr);
|
||||
free(scr->window_menu->entries[1]->text);
|
||||
free(scr->icon_menu->entries[1]->text);
|
||||
}
|
||||
|
||||
menu = scr->icon_menu;
|
||||
@@ -678,6 +678,9 @@ appIconMouseDown(WObjDescriptor *desc, XEvent *event)
|
||||
WObjDescriptor *desc;
|
||||
WApplication *wapp = wApplicationOf(aicon->icon->owner->main_window);
|
||||
|
||||
if (!wapp)
|
||||
return;
|
||||
|
||||
openApplicationMenu(wapp, event->xbutton.x_root,
|
||||
event->xbutton.y_root);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user