diff --git a/src/appicon.c b/src/appicon.c index 7c4a4d9..2a707ad 100644 --- a/src/appicon.c +++ b/src/appicon.c @@ -634,6 +634,9 @@ void appIconMouseDown(WObjDescriptor * desc, WBackendEvent * event) if (aicon->editing || WCHECK_STATE(WSTATE_MODAL)) return; + if (!aicon->icon->owner) + return; + if (IsDoubleClick(scr, event)) { /* Middle or right mouse actions were handled on first click */ if (event->u.button.button == Button1)