diff options
Diffstat (limited to 'src/drivers/Wayland/Fl_Wayland_Screen_Driver.H')
| -rw-r--r-- | src/drivers/Wayland/Fl_Wayland_Screen_Driver.H | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/drivers/Wayland/Fl_Wayland_Screen_Driver.H b/src/drivers/Wayland/Fl_Wayland_Screen_Driver.H index 9a4f9a895..16eb750a4 100644 --- a/src/drivers/Wayland/Fl_Wayland_Screen_Driver.H +++ b/src/drivers/Wayland/Fl_Wayland_Screen_Driver.H @@ -67,8 +67,10 @@ public: struct output { // one record for each screen uint32_t id; int x, y; // logical position of screen - int width; // in pixels - int height; // in pixels + int pixel_width; // in pixels + int pixel_height; // in pixels + int width; // in pixels, account for fractional scaling + int height; // in pixels, account for fractional scaling float dpi; struct wl_output *wl_output; int wld_scale; // Wayland scale factor |
