java focus workaround
java focus workaround

workaround for #227
Closes #227
Closes #289

@tych0: rearranged some code

rxcomm/qtile,rxcomm/qtile,zordsdavini/qtile,jdowner/qtile,kseistrup/qtile,cortesi/qtile,kiniou/qtile,dequis/qtile,dequis/qtile,EndPointCorp/qtile,de-vri-es/qtile,kopchik/qtile,encukou/qtile,w1ndy/qtile,tych0/qtile,aniruddhkanojia/qtile,zordsdavini/qtile,ramnes/qtile,kseistrup/qtile,w1ndy/qtile,flacjacket/qtile,xplv/qtile,farebord/qtile,andrewyoung1991/qtile,farebord/qtile,StephenBarnes/qtile,kopchik/qtile,andrewyoung1991/qtile,himaaaatti/qtile,qtile/qtile,frostidaho/qtile,nxnfufunezn/qtile,tych0/qtile,soulchainer/qtile,flacjacket/qtile,kynikos/qtile,himaaaatti/qtile,StephenBarnes/qtile,qtile/qtile,frostidaho/qtile,apinsard/qtile,de-vri-es/qtile,encukou/qtile,EndPointCorp/qtile,aniruddhkanojia/qtile,nxnfufunezn/qtile,cortesi/qtile,kiniou/qtile,jdowner/qtile,xplv/qtile,apinsard/qtile,kynikos/qtile,soulchainer/qtile,ramnes/qtile