compositor: initial has_window to FALSE in sync_actor_stacking

Spotted by Jasper, discussed on IRC.
display: Add some missing breaks

If we somehow get an event with a wrong device ID, we should not
be comparing bad event IDs.
theme-parser: Remove a duplicate paste

How did this sneak in there?
compositor: Remove some uninitialized variables
Make sure to always call va_end