In seat_handle_capabilities, if input->pointer is not properly initialized, then it will contain an arbitrary value and results in the wl_pointer listener not getting registered if that value is not 0/null. Thus, use calloc to initialize the "input" instance. This fixes https://bugs.freedesktop.org/show_bug.cgi?id=49937 Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
parent
680275fbf1
commit
13dc708ab7
Loading…
Reference in new issue