logind: call SetType on the logind session

Merged Aaron Dill requested to merge aarondill/xserver:master into master

This allows manual handling of IdleAction and IdleHint rather than automatically calling the IdleAction every IdleSecs, due to inactivity on the underlying tty. This is based on the patch by @marcosfrm in this issue

Fixes: #1194 (closed)

Signed-off-by: aarondill aaronsacks2006@gmail.com

Merge request reports