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: Thu, 30 Jan 2020 21:15:42 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0

On 30.01.2020 20:21, martin rudalics wrote:
The new patch attached now uses different API functions for resizing +
moving frames.  The function is called 'x-set-frame-size-and-position'
and works only under X and GTK.  It makes mouse-dragging X frames about
as smooth as the old GTK code did here (tested with Lucid, Motif and
without toolkit support).  I doubt that it also solves the GTK child
frame resize issue but you could nevertheless give it a try.

I've tried both patches now.

mouse.el.diff seems to solve the undecorated frame resizing problem. No drift anymore, both with and without frame-resize-pixelwise. So brief testing showed that it's okay now.

mouse+xfns.diff, on the other hand, is more broken. First of all, it didn't help resizing child frames (not discernible difference). Second, it's very broken with desktop scaling (my 200% makes dragging the frame behave very wildly). Without scaling it almost works as well as the other patch, but not quite. For instance, when mouse dragging by the bottom-right corner, at first the corner jumps a little away from the cursor in the top-left direction, and then follows it, more or less correctly, from that distance.



reply via email to

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