emacs-devel
[Top][All Lists]
Advanced

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

Re: Emacs's set-frame-size can not work well with gnome-shell?


From: Eli Zaretskii
Subject: Re: Emacs's set-frame-size can not work well with gnome-shell?
Date: Wed, 22 Jan 2020 18:19:35 +0200

> From: Dmitry Gutov <address@hidden>
> Date: Wed, 22 Jan 2020 16:32:02 +0300
> Cc: martin rudalics <address@hidden>,
>  "address@hidden" <address@hidden>
> 
> > (defun test ()
> >    (setq p (if (equal p '(10 10))
> >                '(100 100)
> >              '(10 10)))
> >    (set-frame-position child-frame (car p) (cadr p)))
> > 
> > (benchmark 5 '(test))
> > ```
> > 
> > "Elapsed time: 1.063156s"
> 
> Thanks, I can confirm this. Only it's even longer in my case (2.63s).

This sounds like some waiting loop somewhere.  Don't we wait for X in
some situations after asking the WM to make some change?



reply via email to

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