mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-12-14 08:56:26 -05:00
change output layout coords to double type
This commit is contained in:
parent
f69a7afd36
commit
a4810203cc
4 changed files with 10 additions and 11 deletions
|
|
@ -49,8 +49,8 @@ static void handle_output_frame(struct output_state *output, struct timespec *ts
|
|||
float matrix[16];
|
||||
|
||||
// transform global coordinates to local coordinates
|
||||
int local_x = sample->x_offs;
|
||||
int local_y = sample->y_offs;
|
||||
double local_x = sample->x_offs;
|
||||
double local_y = sample->y_offs;
|
||||
wlr_output_layout_output_coords(sample->layout, output->output, &local_x,
|
||||
&local_y);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue