Skip to content

Commit

Permalink
[fixup] Add wlr-output-management protocol (wl_fixed)
Browse files Browse the repository at this point in the history
  • Loading branch information
Consolatis committed Oct 28, 2023
1 parent c045282 commit 355bec1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/output-management.c
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,10 @@ static void output_head_transform(void* data,
}

static void output_head_scale(void* data,
struct zwlr_output_head_v1* output_head, wl_fixed_t scale)
struct zwlr_output_head_v1* output_head, wl_fixed_t scale_f)
{
nvnc_trace("Got head scale: %.2f", (float)scale / 256);
double scale = wl_fixed_to_double(scale_f);
nvnc_trace("Got head scale: %.2f", scale);
}

static void output_head_finished(void* data,
Expand Down

0 comments on commit 355bec1

Please sign in to comment.