From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: joakim@verona.se Newsgroups: gmane.emacs.devel Subject: Re: About x_draw_xwidget_glyph_string Date: Tue, 12 Apr 2016 23:13:13 +0200 Message-ID: References: <83oac93bnr.fsf@gnu.org> <83shyvi64r.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1460495658 8646 80.91.229.3 (12 Apr 2016 21:14:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 12 Apr 2016 21:14:18 +0000 (UTC) Cc: Eli Zaretskii , emacs-devel@gnu.org To: YAMAMOTO Mitsuharu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Apr 12 23:14:07 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aq5dN-0006zu-95 for ged-emacs-devel@m.gmane.org; Tue, 12 Apr 2016 23:14:05 +0200 Original-Received: from localhost ([::1]:57687 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aq5dM-0005vB-Kb for ged-emacs-devel@m.gmane.org; Tue, 12 Apr 2016 17:14:04 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54468) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aq5d6-0005rO-6G for emacs-devel@gnu.org; Tue, 12 Apr 2016 17:13:49 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aq5d5-000871-A3 for emacs-devel@gnu.org; Tue, 12 Apr 2016 17:13:48 -0400 Original-Received: from mx1.bahnhof.se ([213.80.101.11]:47701) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aq5cz-00085l-FG; Tue, 12 Apr 2016 17:13:41 -0400 Original-Received: from localhost (mf.bahnhof.se [213.80.101.20]) by mx1-reinject (Postfix) with ESMTP id 3F62D44C7A; Tue, 12 Apr 2016 23:13:38 +0200 (CEST) X-Virus-Scanned: by amavisd-new using ClamAV at bahnhof.se (MF2) Original-Received: from mf2.bahnhof.se ([127.0.0.1]) by localhost (mf2.bahnhof.se [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XqoXjsskimDB; Tue, 12 Apr 2016 23:13:30 +0200 (CEST) Original-Received: from mta.verona.se (h-235-62.a149.priv.bahnhof.se [85.24.235.62]) by mf2.bahnhof.se (Postfix) with ESMTP id 944969402AD; Tue, 12 Apr 2016 23:13:28 +0200 (CEST) Original-Received: from localhost (unknown [127.0.0.1]) by mta.verona.se (Postfix) with ESMTP id 587A24EF494; Tue, 12 Apr 2016 21:13:28 +0000 (UTC) X-Virus-Scanned: amavisd-new at verona.se Original-Received: from mta.verona.se ([127.0.0.1]) by localhost (exodia.verona.se [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id d66DURH9HQjM; Tue, 12 Apr 2016 23:13:14 +0200 (CEST) Original-Received: from exodia.verona.se (www.verona.se [192.168.200.15]) by mta.verona.se (Postfix) with ESMTP id 03C4B4EF495; Tue, 12 Apr 2016 23:13:14 +0200 (CEST) In-Reply-To: (YAMAMOTO Mitsuharu's message of "Mon, 11 Apr 2016 09:04:45 +0900") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.92 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 213.80.101.11 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:202871 Archived-At: YAMAMOTO Mitsuharu writes: > Also, could you also take a look at the other issue of > "xwidget-view-list gets longer and longer" I mentioned in the original > message? I think the original intention was to only run initialization if the lookup first returned NULL, like below. (Which of course was what you wrote in your original email, albeit more eloquently) /* Do initialization here in the display loop because there is no other time to know things like window placement etc. */ if(xv == NULL) xv = xwidget_init_view (xww, s, x, y); > > YAMAMOTO Mitsuharu > mituharu@math.s.chiba-u.ac.jp -- Joakim Verona