Implement ICCCM's WM_TAKE_FOCUS behavior

Additionally, the `apply_shadow_property` was renamed to
`apply_floating_atom`.