chore(wayland): remove unused variable

This commit is contained in:
Jeremy Attali 2020-06-05 21:41:10 -04:00
parent 6b2ec90efd
commit 416b0adad9
2 changed files with 0 additions and 2 deletions

View File

@ -158,7 +158,6 @@ struct swappy_output {
int32_t scale;
struct swappy_buffer *buffer;
double logical_scale; // guessed from the logical size
char *name;
enum wl_output_transform transform;

View File

@ -53,7 +53,6 @@ static void xdg_output_handle_done(void *data,
int32_t width = output->geometry.width;
int32_t height = output->geometry.height;
apply_output_transform(output->transform, &width, &height);
output->logical_scale = (double)width / output->logical_geometry.width;
}
static void xdg_output_handle_name(void *data,