i think i found an issue with monitor focusing:
in enternotify monitor change events are checked
if((m = wintomon(ev->window)) && m != selmon) {
unfocus(selmon->sel);
selmon = m;
}
firefox has a "clever" address bar with a dropdown menu that grabs
keys and everything. it occasionally generates enternotify events for
the root window (i havent't yet figured out when and why) so if i left
the mouse pointer on the other monitor and start typing into the
address bar selmon sometimes changes leaving ff unfocused etc
not sure if it's fixable..