mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-20 12:58:08 +01:00
Easier code path in appIconMouseDown
This commit is contained in:
committed by
Carlos R. Mafra
parent
971f611bad
commit
cbff60297e
@@ -547,10 +547,9 @@ void appIconMouseDown(WObjDescriptor * desc, XEvent * event)
|
||||
if (event->xbutton.button == Button2) {
|
||||
WApplication *wapp = wApplicationOf(aicon->icon->owner->main_window);
|
||||
|
||||
if (!wapp)
|
||||
return;
|
||||
|
||||
if (wapp)
|
||||
relaunchApplication(wapp);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user