wayland: Rename some display related variables to better reflect their purpose

Use the 'logical' prefix for the logical width and height, and clarify that the physical dimensions reflect the width/height in millimeters.
This commit is contained in:
Frank Praznik
2024-11-18 11:33:33 -05:00
parent e027b85cc4
commit 70fe38bcb2
2 changed files with 24 additions and 24 deletions

View File

@@ -105,10 +105,11 @@ struct SDL_DisplayData
char *wl_output_name;
double scale_factor;
uint32_t registry_id;
int logical_width, logical_height;
int pixel_width, pixel_height;
int x, y, screen_width, screen_height, refresh, transform;
int x, y, refresh, transform;
SDL_DisplayOrientation orientation;
int physical_width, physical_height;
int physical_width_mm, physical_height_mm;
bool has_logical_position, has_logical_size;
SDL_DisplayID display;
SDL_VideoDisplay placeholder;