~darxus/+junk/weston-packaging

Viewing all changes in revision 2218.

  • Committer: Kristian Høgsberg
  • Author(s): U. Artie Eoff
  • Date: 2012-09-25 15:24:49 UTC
  • Revision ID: git-v1:13dc708ab7e7d64af9b9d2e3b033eba82a725254
test-client: initialize input instance.

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>

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: