Fix laggy move-resize in xdg-shell

This commit is contained in:
emersion 2017-11-05 10:22:42 +01:00
parent 80caaf8fcc
commit 3e3209cba2
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
3 changed files with 62 additions and 42 deletions

View file

@ -26,6 +26,12 @@ struct roots_xdg_surface_v6 {
struct wl_listener destroy;
struct wl_listener request_move;
struct wl_listener request_resize;
struct {
bool needs_move;
double x, y;
uint32_t width, height;
} move_resize;
};
struct roots_xwayland_surface {