diff options
author | Tony Crisci <tony@dubstepdish.com> | 2017-08-24 11:46:40 -0400 |
---|---|---|
committer | Tony Crisci <tony@dubstepdish.com> | 2017-08-26 08:32:11 -0400 |
commit | a4810203ccfcdba2460331b46d7be4d9535f904a (patch) | |
tree | 82aca683b7c858698a353734643c169cbbaa13e3 /examples | |
parent | f69a7afd369d4febdd2c14519bf11dab65fccc24 (diff) | |
download | wlroots-a4810203ccfcdba2460331b46d7be4d9535f904a.tar.xz |
change output layout coords to double type
Diffstat (limited to 'examples')
-rw-r--r-- | examples/output-layout.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/output-layout.c b/examples/output-layout.c index 0dcbc1f8..041d5788 100644 --- a/examples/output-layout.c +++ b/examples/output-layout.c @@ -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); |