mirror of
https://github.com/jtheoof/swappy.git
synced 2024-08-16 18:20:45 +03:00
chore(wayland): remove unused variable
This commit is contained in:
parent
6b2ec90efd
commit
416b0adad9
@ -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;
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user