[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: |
Wed, 17 Feb 2016 09:57:58 -0500 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 |
On 02/17/2016 04:13 AM, martin rudalics wrote:
>> * add a frame parameter to frame_parms in frame.c, say "chromeless"
>
> I'd prefer "decorated" as in gtk_window_set-decorated.
>
>> * 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);
>
> For X I doubt that it's always possible to add/remove the decorations of
> an existing frame. For Windows the below works here with
>
> x_default_parameter (f, parameters, Qdecorated, Qnil,
> "decorated", "Decorated", RES_TYPE_SYMBOL);
> (...)
Great, thanks! I will add this to my patch.
Do we need the three states, however? Given that one can separately specify a
border width, wouldn't it be enough to have either no caption nor border, or
both?
Clément.
signature.asc
Description: OpenPGP digital signature
- Re: Could x-show-tip be reimplemented in Elisp? How does one create borderless frames from Elisp?, (continued)
- 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, 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?), 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 <=
- 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
- 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: Could x-show-tip be reimplemented in Elisp? How does one create borderless frames from Elisp?, martin rudalics, 2016/02/15