-
Peter Hutterer authored
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 <peter.hutterer@who-t.net>
2e257410