Merge pull request #1211 from aereaux/aereaux-patch-1

Fix uninitialized value in wlr_cursor.
This commit is contained in:
Ryan Dwyer 2018-09-01 09:53:29 +10:00 committed by GitHub
commit bf670b84c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -332,7 +332,7 @@ static void handle_pointer_motion(struct wl_listener *listener, void *data) {
static void apply_output_transform(double *x, double *y,
enum wl_output_transform transform) {
double dx, dy;
double dx = 0.0, dy = 0.0;
double width = 1.0, height = 1.0;
switch (transform) {