emacs-devel
[Top][All Lists]
Advanced

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

Re: set-frame-parameter a child-frame's 'parent-frame error on macOS ?


From: Alan Third
Subject: Re: set-frame-parameter a child-frame's 'parent-frame error on macOS ?
Date: Fri, 12 Jan 2018 19:31:00 +0000
User-agent: Mutt/1.9.1 (2017-09-22)

On Fri, Jan 12, 2018 at 07:47:53PM +0100, martin rudalics wrote:
> >>> (let ((test (let ((after-make-frame-functions nil))
> >>>                 (make-frame
> >>>                  `((parent-frame . ,(window-frame))
> >>>                    (width . 10)
> >>>                    (height . 10))))))
> >>>     (set-frame-parameter test 'parent-frame (window-frame)))
> >>> ----------
> >>
> >> I'm not sure what this code is supposed to do.  First you make a new
> >> child frame named 'test' with the selected frame as its parent.  Then
> >> you want to set the parent frame of 'test' to the selected frame.
> >>
> >
> > The above just a example to show bug.
> 
> OK.  But setting the parent frame two times for the same frame makes
> it difficult to say which instance causes the bug.  Anyway, can you
> try the trivial patch to nsterm.m below?

The patch gets rid of the error message for me. Perhaps it will also
fix bug#30019.
-- 
Alan Third



reply via email to

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