From owner-freebsd-hackers Tue Jan 6 18:00:17 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.7/8.8.7) id SAA22469 for hackers-outgoing; Tue, 6 Jan 1998 18:00:17 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from smtp2.teleport.com (ns0.teleport.com [192.108.254.11]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id SAA22433 for ; Tue, 6 Jan 1998 18:00:02 -0800 (PST) (envelope-from mrl@teleport.com) Received: from user2.teleport.com (usertest.teleport.com [192.108.254.19]) by smtp2.teleport.com (8.8.7/8.7.3) with ESMTP id RAA03743; Tue, 6 Jan 1998 17:17:17 -0800 (PST) From: Mostyn Lewis Received: (from mrl@localhost) by user2.teleport.com (8.8.7/8.8.4) id RAA21971; Tue, 6 Jan 1998 17:17:15 -0800 (PST) Message-Id: <199801070117.RAA21971@user2.teleport.com> Subject: Re: Motif question To: dap@damon.com (Damon Anton Permezel) Date: Tue, 6 Jan 1998 17:17:15 -0800 (PST) Cc: freebsd-hackers@FreeBSD.ORG In-Reply-To: <199801062344.RAA09428@damon.com> from "Damon Anton Permezel" at Jan 6, 98 05:44:12 pm X-Mailer: ELM [version 2.4 PL25] Content-Type: text Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk If you look a little up in the awt_util.c JDK_1.1.5 source, you'll see the comment about the code being copied from CDE/Motif (1.2.3 | 2.0 | 2.1 who knows). Sun uses 1.2.3 so it's probably that. Anyway, it's internal Motif code and the Motif developers can chop and change it as they see fit from release to release - and probably have. So, I guess you have to obey the struct below if you want to use this in java apps :-( Mostyn > Java:awt_util.c thinks that it looks like: > > typedef struct { > Widget im_widget; > XIMStyle input_style; > XIC xic; > int status_width; > int status_height; > int preedit_width; > int preedit_height; > XmICStruct *iclist; > XmICStruct *current; > } XmImInfo;