1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-20 21:08:08 +01:00

Easier code path in appIconMouseDown

This commit is contained in:
Tobias Stoeckmann
2012-05-05 09:55:24 +02:00
committed by Carlos R. Mafra
parent 971f611bad
commit cbff60297e

View File

@@ -547,10 +547,9 @@ void appIconMouseDown(WObjDescriptor * desc, XEvent * event)
if (event->xbutton.button == Button2) { if (event->xbutton.button == Button2) {
WApplication *wapp = wApplicationOf(aicon->icon->owner->main_window); WApplication *wapp = wApplicationOf(aicon->icon->owner->main_window);
if (!wapp) if (wapp)
return; relaunchApplication(wapp);
relaunchApplication(wapp);
return; return;
} }