Skip to content

Fix laggy move-resize

Simon Ser requested to merge github/fork/emersion/laggy-move-resize into master

This is a pretty naive fix that waits for surface commits to move the view. It works with clients which commit a surface after configure requests and are fast enough (commits are sent faster than configure requests). This may be good enough.

Do we want to do this for all shells? We could pretty easily because it's not using any shell-specific feature, just the surface commit.

  • weston-dnd: resizing from top-left corner, moving the mouse past the bottom-right border makes the window move
  • gnome-calendar (and all apps, but it's less noticeable): one invalid frame
    • if I drag top left out to make it bigger, I get a flash of either a greater x or y coordinate for a frame
    • if I drag top left in to make it smaller, I get a flash of either a smaller x or y coordinate for a frame

Fixes #386 (closed)

Merge request reports