# HG changeset patch # User bsmith@81767d24-ef19-dc11-ae90-00e081727c95 # Date 1044093927 0 # Node ID b9c7b762c104ea151f5e00a38776d734dc61abc5 # Parent 85f25e8c1b1efe409399637afc0aaad54e416723 When comparing the desktop value, use the queried value not the constant. diff -r 85f25e8c1b1e -r b9c7b762c104 os2/dw.c --- a/os2/dw.c Sat Feb 01 09:53:56 2003 +0000 +++ b/os2/dw.c Sat Feb 01 10:05:27 2003 +0000 @@ -3354,7 +3354,7 @@ if(!handle) return -1; - if(parent != HWND_DESKTOP && thisbox && thisbox->count) + if(parent != desktop && thisbox && thisbox->count) { int z, index = -1; Item *tmpitem, *thisitem = thisbox->items;