backends/native: Use viewport info to find out stage extents

This information is equivalent to the stage extents, this just
leaves meta_seat_native_get_stage() used for setting event->any.stage,
which is a tiny lame excuse.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1403>
This commit is contained in:
Carlos Garnacho
2020-07-31 19:11:32 +02:00
committed by Marge Bot
parent 1377c2a97e
commit c362bc4b51
3 changed files with 23 additions and 25 deletions

View File

@ -126,7 +126,7 @@ ClutterInputDeviceType meta_input_device_native_determine_type (struct libin
void meta_input_device_native_translate_coordinates (ClutterInputDevice *device,
ClutterStage *stage,
MetaViewportInfo *viewports,
float *x,
float *y);