From 4fc13a6e2779d01901e4c959ee01aa9b07073670 Mon Sep 17 00:00:00 2001 From: Peter Howkins Date: Wed, 4 Apr 2018 16:33:45 +0100 Subject: [PATCH] dtwm: cov 175166, check for pointer --- cde/programs/dtwm/WmFP.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cde/programs/dtwm/WmFP.c b/cde/programs/dtwm/WmFP.c index 5bd3690c..c5bd72c6 100644 --- a/cde/programs/dtwm/WmFP.c +++ b/cde/programs/dtwm/WmFP.c @@ -329,7 +329,7 @@ EmbeddedClientRegister (ControlData * control_data, { embedded_client->pCD->pECD = (void *) embedded_client; - if (XtParent(control_data->icon) == + if (control_data->icon && XtParent(control_data->icon) == XtParent(embedded_client->wControl) && remove_y < embedded_client->y) { -- 2.25.1