[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Latest master broken on Cocoa/NS

From: Clément Pit--Claudel
Subject: Re: Latest master broken on Cocoa/NS
Date: Fri, 15 Jul 2016 17:14:19 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.8.0

On 2016-07-15 16:25, Eli Zaretskii wrote:
>> Cc: address@hidden
>> From: Clément Pit--Claudel <address@hidden>
>> Date: Fri, 15 Jul 2016 16:21:12 +0200
>>> Frame-creation code is mostly in C.
>> Sure, but that code (the one that ‘make-frame’ calls) already exists 
>> independently of the code for popups, right? If that's correct, couldn't one 
>> imagine the non-toolkit pop-up code being entirely moved to lisp, with the 
>> exception of the part that makes a frame frame chromeless?
> Maybe I misunderstand what you have in mind, but there's almost
> nothing to move to Lisp after that exception.  Take a look at
> tooltip.el -- that's all that's left for Lisp to do about tooltips.

I think it's more likely that I'm misunderstanding the C code :) Looking in 
xfns.c, there seems to be about 1000 lines of code for tooltips, and 
significant overlap between x_create_frame and x_create_tip_frame. Most of the 
rest (about 700 lines) seems to be code that deals with creating timers, and 
showing and hiding tooltip frames. Isn't that right?


Attachment: signature.asc
Description: OpenPGP digital signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]