Switch to Google indentation style

The clang-format tool can automatically indent code to Google's style guide,
but does not support indenting in the GNU style.  For this reason alone, I
prefer the Google style.

All changes in this commit were automatically generated by:

  clang-format --style=Google

Signed-off-by: Morten Hustveit <morten.hustveit@gmail.com>
Add support for moving windows with arrow keys

Ctrl+Super+[Arrow keys] moves windows.
Alt+Super+[Arrow keys] moves focus between windows.

Signed-off-by: Morten Hustveit <morten.hustveit@gmail.com>
Create a kWorkspaceCount constant

Littering numerical constants throughout the code isn't very pretty.

Signed-off-by: Morten Hustveit <morten.hustveit@gmail.com>
Don't give up window placement too easily

Prior to this commit, windows would only be positioned in a workspace with a
higher index than the active workspace.  This patch enables also searching the
preceding workspaces.

Signed-off-by: Morten Hustveit <morten.hustveit@gmail.com>
Merge branch 'master' of github.com:mortehu/cantera-wm

Conflicts:
	main.cc