mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-22 21:05:58 +01:00
Fix uninitialized value in wlr_cursor.
This commit is contained in:
parent
2ddabacacf
commit
e334b46b39
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 = 0.0, dy = 0.0;
|
||||||
double width = 1.0, height = 1.0;
|
double width = 1.0, height = 1.0;
|
||||||
|
|
||||||
switch (transform) {
|
switch (transform) {
|
||||||
|
|
Loading…
Reference in a new issue