Improve our reaction when primary changes

Merged Aleix Pol Gonzalez requested to merge work/primary-always-enabled into master

Ensure we sanitise the input so a client can't randomly crash KWin that way.

Merge request reports