mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-02 11:55:59 +01:00
Fix possibly uninitialized variable
This commit is contained in:
parent
21f5b92973
commit
b6cf9b14a4
1 changed files with 1 additions and 1 deletions
|
@ -184,7 +184,7 @@ static void handle_xdg_surface_v6_request_move(struct wl_listener *listener,
|
||||||
wl_container_of(listener, esurface, request_move_listener);
|
wl_container_of(listener, esurface, request_move_listener);
|
||||||
struct wlr_xdg_toplevel_v6_move_event *e = data;
|
struct wlr_xdg_toplevel_v6_move_event *e = data;
|
||||||
struct sample_state *sample = esurface->sample;
|
struct sample_state *sample = esurface->sample;
|
||||||
struct input_event_cache *event;
|
struct input_event_cache *event = NULL;
|
||||||
for (size_t i = 0;
|
for (size_t i = 0;
|
||||||
i < sizeof(sample->input_cache) / sizeof(sample->input_cache[0]);
|
i < sizeof(sample->input_cache) / sizeof(sample->input_cache[0]);
|
||||||
++i) {
|
++i) {
|
||||||
|
|
Loading…
Reference in a new issue