emacs-exwm / exwm

Emacs X Window Manager
https://elpa.gnu.org/packages/exwm.html
GNU General Public License v3.0
284 stars 14 forks source link

Don't leave the inner window behind when moving floating windows #73

Closed Stebalien closed 3 months ago

Stebalien commented 3 months ago

Previously, EXWM would leave the inner window behind when dragging around floating windows until the mouse was released. Now, the inner window will be dragged along without any lag.

Stebalien commented 3 months ago

Yeah, I'm not sure if it was intentional (performance issues?) or just a bug. But Emacs is definitely fast enough to handle it now.

minad commented 3 months ago

Yeah, I'm not sure if it was intentional (performance issues?) or just a bug. But Emacs is definitely fast enough to handle it now.

I had always assumed that this was left out for performance reasons - maybe the interaction of the X server and Emacs as you said, or just slower blitting back then. Iirc some historical WMs also didn't move the window and only moved a thin border. But it works very well now and your patch was simple enough.

medranocalvo commented 3 months ago

Specially when resizing would resize both the frame and the X window. Thank you.