Skip to content
Commit e640bac8 authored by Peter Hutterer's avatar Peter Hutterer
Browse files

tools: fix grab handling in libinput debug-gui



The libinput context's user_data was used for deciding whether to grab the
event device but also to hold the struct window data for the debug-gui. Worked
fine for the initial batch of devices, but any device coming in late would
just use the first field of the struct window to decide whether to grab or
not.

Fixes #122

Signed-off-by: default avatarPeter Hutterer <peter.hutterer@who-t.net>
parent b44f6b4e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment