[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Creating a "borderless" frame (without WM chrome) (was Re: Could x-s
From: |
Clément Pit--Claudel |
Subject: |
Re: Creating a "borderless" frame (without WM chrome) (was Re: Could x-show-tip be reimplemented in Elisp? How does one create borderless frames from Elisp?) |
Date: |
Tue, 16 Feb 2016 18:46:21 -0500 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 |
On 02/16/2016 06:14 PM, Chris Feng wrote:
>> Can we set this parameter after the corresponding X window has been
>> displayed? Or should this new frame parameter only make sense in
>> make-frame calls?
>
> Modifying such a parameter makes little sense I think. IIRC some
> existing frame parameters just work this way.
Ok; thanks. So if I understand correctly, the implementation would look like
this:
* add a frame parameter to frame_parms in frame.c, say "chromeless"
* add an x_set_chromeless slot in each of frame_parm_handler
x_frame_parm_handlers[], frame_parm_handler w32_frame_parm_handlers[],
frame_parm_handler ns_frame_parm_handlers[]; for the last two point to 0 for
now; for the first one point to a new function x_set_chromeless.
* In x-create-frame, add something like
x_default_parameter (f, parms, Qchromeless, Qnil,
"chromeless", "Chromeless", RES_TYPE_BOOLEAN);
Am I missing steps (in terms of implementation)?
Thanks for your help!
Clément.
signature.asc
Description: OpenPGP digital signature
- Could x-show-tip be reimplemented in Elisp? How does one create borderless frames from Elisp?, Clément Pit--Claudel, 2016/02/12
- Re: Could x-show-tip be reimplemented in Elisp? How does one create borderless frames from Elisp?, Chris Feng, 2016/02/12
- Re: Could x-show-tip be reimplemented in Elisp? How does one create borderless frames from Elisp?, Clément Pit--Claudel, 2016/02/12
- Re: Could x-show-tip be reimplemented in Elisp? How does one create borderless frames from Elisp?, Chris Feng, 2016/02/12
- Creating a "borderless" frame (without WM chrome) (was Re: Could x-show-tip be reimplemented in Elisp? How does one create borderless frames from Elisp?), Clément Pit--Claudel, 2016/02/16
- Re: Creating a "borderless" frame (without WM chrome) (was Re: Could x-show-tip be reimplemented in Elisp? How does one create borderless frames from Elisp?), Chris Feng, 2016/02/16
- Re: Creating a "borderless" frame (without WM chrome) (was Re: Could x-show-tip be reimplemented in Elisp? How does one create borderless frames from Elisp?), Clément Pit--Claudel, 2016/02/16
- Re: Creating a "borderless" frame (without WM chrome) (was Re: Could x-show-tip be reimplemented in Elisp? How does one create borderless frames from Elisp?), Chris Feng, 2016/02/16
- Re: Creating a "borderless" frame (without WM chrome) (was Re: Could x-show-tip be reimplemented in Elisp? How does one create borderless frames from Elisp?),
Clément Pit--Claudel <=
- Re: Creating a "borderless" frame (without WM chrome) (was Re: Could x-show-tip be reimplemented in Elisp? How does one create borderless frames from Elisp?), martin rudalics, 2016/02/17
- Re: Creating a "borderless" frame (without WM chrome) (was Re: Could x-show-tip be reimplemented in Elisp? How does one create borderless frames from Elisp?), Chris Feng, 2016/02/17
- Re: Creating a "borderless" frame (without WM chrome) (was Re: Could x-show-tip be reimplemented in Elisp? How does one create borderless frames from Elisp?), Clément Pit--Claudel, 2016/02/17
- Re: Creating a "borderless" frame (without WM chrome) (was Re: Could x-show-tip be reimplemented in Elisp? How does one create borderless frames from Elisp?), Chris Feng, 2016/02/17
- Re: Creating a "borderless" frame (without WM chrome) (was Re: Could x-show-tip be reimplemented in Elisp? How does one create borderless frames from Elisp?), Clément Pit--Claudel, 2016/02/17
- Re: Creating a "borderless" frame (without WM chrome) (was Re: Could x-show-tip be reimplemented in Elisp? How does one create borderless frames from Elisp?), martin rudalics, 2016/02/18
- Re: Could x-show-tip be reimplemented in Elisp? How does one create borderless frames from Elisp?, Stefan Monnier, 2016/02/14
- Re: Could x-show-tip be reimplemented in Elisp? How does one create borderless frames from Elisp?, Eli Zaretskii, 2016/02/14
- Re: Could x-show-tip be reimplemented in Elisp? How does one create borderless frames from Elisp?, Stefan Monnier, 2016/02/14
- Re: Could x-show-tip be reimplemented in Elisp? How does one create borderless frames from Elisp?, Eli Zaretskii, 2016/02/14