emacs-devel
[Top][All Lists]
Advanced

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

Re: Could x-show-tip be reimplemented in Elisp? How does one create bord


From: Chris Feng
Subject: Re: Could x-show-tip be reimplemented in Elisp? How does one create borderless frames from Elisp?
Date: Sat, 13 Feb 2016 11:57:02 +0800

> It doesn't seem that there's any Elisp level facility to customize this flag, 
> unfortunately. This means in particular that unless we patch the C sources, 
> there won't be a cross platform solution to this issue, right?

I'm afraid so.

> I've started thinking at what a patch would look like; presumably the idea 
> would be to expose the functionality of x_create_tip_frame to Elisp, moving 
> parts of x_show_tip into that function. I could try coming up with a patch, 
> if this is deemed useful.
>
> There's one thing that confuses me, however: some code related to tooltips 
> seems to be duplicated between xfns.c, w32fns.c, etc; are these files 
> auto-generated? Or should I prepare a patch that adjusts all copies of that 
> code?

Those files contain implementations for different platforms.  You need
to patch all of them.

The override-redirect flag is X-specific actually.

> This is really neat, actually :) Thanks a lot! It works great on my machine.
> I'd still like to find a cross-platform solution, though; company isn't 
> X-specific. Am I right to think that this will only work on GNU/Linux?

Yes, and perhaps other platforms running X11.



reply via email to

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