Commit 2e257410 authored by Peter Hutterer's avatar Peter Hutterer

test: grab the device before any lid or tablet mode switches

Putting an EVIOCGRAB on the device before sending those events means no-one
else sees those events - particularly upower. This means no-one else knows the
lid is on or off and thus we never blank the screen (or suspend/shut down but
those are inhibited anyway).
Signed-off-by: Peter Hutterer's avatarPeter Hutterer <peter.hutterer@who-t.net>
parent 86946342
Pipeline #173053 passed with stages
in 18 minutes and 26 seconds