1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-02-15 04:32:24 +00:00

dtwm: cov 175166, check for pointer

This commit is contained in:
Peter Howkins 2018-04-04 16:33:45 +01:00
parent acc3d8868a
commit 4fc13a6e27

View file

@ -329,7 +329,7 @@ EmbeddedClientRegister (ControlData * control_data,
{ {
embedded_client->pCD->pECD = (void *) embedded_client; embedded_client->pCD->pECD = (void *) embedded_client;
if (XtParent(control_data->icon) == if (control_data->icon && XtParent(control_data->icon) ==
XtParent(embedded_client->wControl) && XtParent(embedded_client->wControl) &&
remove_y < embedded_client->y) remove_y < embedded_client->y)
{ {