diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2023-04-07 10:14:11 +0200 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2023-04-07 10:14:11 +0200 |
| commit | c149091debe9db1f326b90add9f2ec221d1616f9 (patch) | |
| tree | 52d2c7f48b3ae31739d38f8d48d2c5f4a5bd8ac1 /src/drivers/Wayland/Fl_Wayland_Screen_Driver.H | |
| parent | 6f0e9b658090b177062b9bf001a0e757b99c6221 (diff) | |
Wayland: fix reporting of relative location of multiple displays
Diffstat (limited to 'src/drivers/Wayland/Fl_Wayland_Screen_Driver.H')
| -rw-r--r-- | src/drivers/Wayland/Fl_Wayland_Screen_Driver.H | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/drivers/Wayland/Fl_Wayland_Screen_Driver.H b/src/drivers/Wayland/Fl_Wayland_Screen_Driver.H index a01c9b013..aeacf033d 100644 --- a/src/drivers/Wayland/Fl_Wayland_Screen_Driver.H +++ b/src/drivers/Wayland/Fl_Wayland_Screen_Driver.H @@ -66,8 +66,9 @@ public: }; struct output { // one record for each screen uint32_t id; - short width; // in pixels - short height; // in pixels + int x, y; // logical position of screen + int width; // in pixels + int height; // in pixels float dpi; struct wl_output *wl_output; int wld_scale; // Wayland scale factor |
