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: Dmitry Gutov
Subject: Re: Emacs's set-frame-size can not work well with gnome-shell?
Date: Sun, 19 Jan 2020 05:45:44 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0

On 18.01.2020 16:48, martin rudalics wrote:
 > Changing 'resize-test' in the original scenario to
 >
 >    (defun resize-test (frame)
 >      (make-frame-invisible frame)
 >      (set-frame-height frame 20)
 >      (make-frame-visible frame))
 >
> makes it both work and execute much faster: around 1ms for one iteration.

This at least seems to prove that the resize bug is not on our side.

Maybe. But it might also mean that it's possible to provide some hint to the window manager that resizing is indeed allowed.

> If it's at all possible, I was also looking for a solution that would minimize flickering. Any ideas?

The above doesn't flicker here, or at least I can't notice any flicker
here.

Do you have a compositing window manager (on your GNU/Linux system)?

It doesn't flicker always, but like 3 out of 4 times is does. And running resize-test in a loop always shows 1-2 flickers, at least.

You could try to play around with 'x-wait-for-event-timeout'.

You mean to bind it to a larger value around the body of resize-test?

I tried 1, as well as 10. No change.



reply via email to

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