projects
/
oweals
/
cde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
acc3d88
)
dtwm: cov 175166, check for pointer
author
Peter Howkins
<flibble@users.sf.net>
Wed, 4 Apr 2018 15:33:45 +0000
(16:33 +0100)
committer
Peter Howkins
<flibble@users.sf.net>
Wed, 4 Apr 2018 15:33:45 +0000
(16:33 +0100)
cde/programs/dtwm/WmFP.c
patch
|
blob
|
history
diff --git
a/cde/programs/dtwm/WmFP.c
b/cde/programs/dtwm/WmFP.c
index 5bd3690c513c6bb469b2a8f25f92c0b009342cbd..c5bd72c6cc9bc90dd361d664d416912c04280f74 100644
(file)
--- 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)
{