Hello. Several people (Anton Karpov, Dmitri Alentich, Greg Steuck) in past time tried to port xxkb to openbsd, but seems that nobody noticed their effort. So here is my try.
pkg/DESCR Keyboard indicator and layout switcher for X Window. It can hold layout for each window separately and show small flag of country, which language is in use. Tested on i386 and works just fine.
xxkb.tar.gz
Description: application/compressed-tar