Fix resize bug

Based on tinywl's 21397e2b
This commit is contained in:
Johan Malm 2020-05-12 20:37:05 +01:00
parent dd32e712ae
commit 48e47fe8f9
4 changed files with 54 additions and 50 deletions

View file

@ -66,7 +66,7 @@ struct server {
enum cursor_mode cursor_mode;
struct view *grabbed_view;
double grab_x, grab_y;
int grab_width, grab_height;
struct wlr_box grab_box;
uint32_t resize_edges;
struct wlr_output_layout *output_layout;