Small patch to fix a compiler warning when the compositor is disabled.
Created attachment 799 Put ifdef/endif around compositorSetCMSelection
You can also move the compositorSetCMSelection function somewhere around line 2430, so it is inside the large HAVE_COMPOSITOR block.
Should be fixed in trunk. Thanks!