mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-12-16 08:56:26 -05:00
Merge pull request #951 from chebykinn/fix-maybe-uninitialized
Fix gcc maybe-uninitialized in wlr_cursor apply_output_transform
This commit is contained in:
commit
2959fcce1a
1 changed files with 1 additions and 1 deletions
|
|
@ -332,7 +332,7 @@ static void handle_pointer_motion(struct wl_listener *listener, void *data) {
|
||||||
|
|
||||||
static void apply_output_transform(double *x, double *y,
|
static void apply_output_transform(double *x, double *y,
|
||||||
enum wl_output_transform transform) {
|
enum wl_output_transform transform) {
|
||||||
double dx, dy;
|
double dx = *x, dy = *y;
|
||||||
double width = 1.0, height = 1.0;
|
double width = 1.0, height = 1.0;
|
||||||
|
|
||||||
switch (transform) {
|
switch (transform) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue