make sure window IsViewable before calling XSetInputFocus trying to avoid a BadMatch error when going to other workspace in KDE before window has been displayed.
make sure window IsViewable before calling XSetInputFocus trying to avoid
a BadMatch error when going to other workspace in KDE before window has been
displayed.


git-svn-id: acec3fd5b7ea1eb9e79d6329d318e8118ee2e14f@8339 27541ba8-7e3a-0410-8455-c3a389f83636

davidlt/root,zzxuanyuan/root-compressor-dummy,evgeny-boger/root,krafczyk/root,root-mirror/root,olifre/root,georgtroska/root,perovic/root,jrtomps/root,esakellari/my_root_for_test,sirinath/root,Y--/root,nilqed/root,abhinavmoudgil95/root,tc3t/qoot,Y--/root,bbockelm/root,Duraznos/root,zzxuanyuan/root-compressor-dummy,mattkretz/root,simonpf/root,sirinath/root,pspe/root,smarinac/root,nilqed/root,omazapa/root-old,beniz/root,sawenzel/root,pspe/root,veprbl/root,omazapa/root-old,dfunke/root,karies/root,abhinavmoudgil95/root,olifre/root,root-mirror/root,0x0all/ROOT,sbinet/cxx-root,agarciamontoro/root,thomaskeck/root,Duraznos/root,root-mirror/root,esakellari/root,mattkretz/root,evgeny-boger/root,krafczyk/root,jrtomps/root,strykejern/TTreeReader,abhinavmoudgil95/root,mkret2/root,krafczyk/root,gbitzes/root,beniz/root,alexschlueter/cern-root,karies/root,georgtroska/root,lgiommi/root,esakellari/root,nilqed/root,0x0all/ROOT,veprbl/root,gbitzes/root,gbitzes/root,0x0all/ROOT,davidlt/root,esakellari/my_root_for_test,georgtroska/root,zzxuanyuan/root,mhuwiler/rootauto,Dr15Jones/root,sbinet/cxx-root,cxx-hep/root-cern,mhuwiler/rootauto,BerserkerTroll/root,sbinet/cxx-root,abhinavmoudgil95/root,esakellari/my_root_for_test,thomaskeck/root,davidlt/root,agarciamontoro/root,zzxuanyuan/root-compressor-dummy,georgtroska/root,CristinaCristescu/root,kirbyherm/root-r-tools,strykejern/TTreeReader,karies/root,satyarth934/root,dfunke/root,ffurano/root5,vukasinmilosevic/root,root-mirror/root,lgiommi/root,pspe/root,karies/root,Dr15Jones/root,smarinac/root,veprbl/root,CristinaCristescu/root,Y--/root,vukasinmilosevic/root,dfunke/root,omazapa/root,omazapa/root,omazapa/root,krafczyk/root,arch1tect0r/root,gbitzes/root,jrtomps/root,0x0all/ROOT,Dr15Jones/root,abhinavmoudgil95/root,beniz/root,buuck/root,sirinath/root,gganis/root,dfunke/root,mkret2/root,mattkretz/root,mattkretz/root,arch1tect0r/root,georgtroska/root,pspe/root,gganis/root,sirinath/root,krafczyk/root,pspe/root,mattkretz/root,zzxuanyuan/root-compressor-dummy,BerserkerTroll/root,mattkretz/root,veprbl/root,beniz/root,pspe/root,satyarth934/root,CristinaCristescu/root,thomaskeck/root,simonpf/root,root-mirror/root,abhinavmoudgil95/root,sirinath/root,arch1tect0r/root,Duraznos/root,gbitzes/root,abhinavmoudgil95/root,tc3t/qoot,agarciamontoro/root,Dr15Jones/root,georgtroska/root,satyarth934/root,perovic/root,lgiommi/root,bbockelm/root,tc3t/qoot,esakellari/root,BerserkerTroll/root,davidlt/root,Dr15Jones/root,mkret2/root,abhinavmoudgil95/root,bbockelm/root,thomaskeck/root,mattkretz/root,esakellari/root,0x0all/ROOT,georgtroska/root,ffurano/root5,esakellari/my_root_for_test,jrtomps/root,perovic/root,mkret2/root,root-mirror/root,vukasinmilosevic/root,simonpf/root,mkret2/root,satyarth934/root,Duraznos/root,esakellari/root,sbinet/cxx-root,zzxuanyuan/root-compressor-dummy,buuck/root,Y--/root,satyarth934/root,bbockelm/root,olifre/root,Y--/root,BerserkerTroll/root,agarciamontoro/root,mkret2/root,abhinavmoudgil95/root,sirinath/root,gganis/root,agarciamontoro/root,CristinaCristescu/root,tc3t/qoot,olifre/root,nilqed/root,gganis/root,bbockelm/root,davidlt/root,sawenzel/root,nilqed/root,bbockelm/root,perovic/root,nilqed/root,olifre/root,zzxuanyuan/root,BerserkerTroll/root,agarciamontoro/root,olifre/root,davidlt/root,root-mirror/root,olifre/root,abhinavmoudgil95/root,Y--/root,dfunke/root,cxx-hep/root-cern,buuck/root,omazapa/root-old,esakellari/my_root_for_test,alexschlueter/cern-root,ffurano/root5,perovic/root,smarinac/root,0x0all/ROOT,olifre/root,lgiommi/root,kirbyherm/root-r-tools,thomaskeck/root,vukasinmilosevic/root,evgeny-boger/root,simonpf/root,sawenzel/root,CristinaCristescu/root,davidlt/root,agarciamontoro/root,root-mirror/root,davidlt/root,kirbyherm/root-r-tools,strykejern/TTreeReader,alexschlueter/cern-root,nilqed/root,zzxuanyuan/root-compressor-dummy,esakellari/my_root_for_test,krafczyk/root,kirbyherm/root-r-tools,alexschlueter/cern-root,zzxuanyuan/root-compressor-dummy,sawenzel/root,perovic/root,alexschlueter/cern-root,bbockelm/root,mhuwiler/rootauto,bbockelm/root,lgiommi/root,omazapa/root-old,ffurano/root5,evgeny-boger/root,ffurano/root5,thomaskeck/root,agarciamontoro/root,simonpf/root,pspe/root,veprbl/root,jrtomps/root,krafczyk/root,BerserkerTroll/root,satyarth934/root,gganis/root,nilqed/root,mhuwiler/rootauto,vukasinmilosevic/root,CristinaCristescu/root,georgtroska/root,krafczyk/root,esakellari/my_root_for_test,beniz/root,gbitzes/root,veprbl/root,bbockelm/root,esakellari/root,arch1tect0r/root,satyarth934/root,CristinaCristescu/root,CristinaCristescu/root,root-mirror/root,zzxuanyuan/root-compressor-dummy,arch1tect0r/root,omazapa/root,root-mirror/root,smarinac/root,beniz/root,Y--/root,simonpf/root,zzxuanyuan/root,omazapa/root-old,perovic/root,Y--/root,sbinet/cxx-root,ffurano/root5,gganis/root,mhuwiler/rootauto,Y--/root,Y--/root,evgeny-boger/root,beniz/root,gganis/root,bbockelm/root,sbinet/cxx-root,esakellari/my_root_for_test,zzxuanyuan/root,zzxuanyuan/root,arch1tect0r/root,beniz/root,perovic/root,veprbl/root,CristinaCristescu/root,perovic/root,esakellari/root,davidlt/root,sawenzel/root,veprbl/root,thomaskeck/root,krafczyk/root,omazapa/root-old,sirinath/root,bbockelm/root,dfunke/root,sawenzel/root,evgeny-boger/root,kirbyherm/root-r-tools,0x0all/ROOT,zzxuanyuan/root-compressor-dummy,zzxuanyuan/root,omazapa/root,sbinet/cxx-root,sbinet/cxx-root,CristinaCristescu/root,simonpf/root,mattkretz/root,root-mirror/root,karies/root,jrtomps/root,mhuwiler/rootauto,mhuwiler/rootauto,arch1tect0r/root,olifre/root,gganis/root,vukasinmilosevic/root,satyarth934/root,kirbyherm/root-r-tools,omazapa/root-old,zzxuanyuan/root,esakellari/my_root_for_test,evgeny-boger/root,dfunke/root,karies/root,zzxuanyuan/root,strykejern/TTreeReader,buuck/root,davidlt/root,ffurano/root5,mkret2/root,buuck/root,Duraznos/root,BerserkerTroll/root,buuck/root,agarciamontoro/root,jrtomps/root,omazapa/root,BerserkerTroll/root,zzxuanyuan/root,Duraznos/root,mhuwiler/rootauto,pspe/root,omazapa/root-old,sbinet/cxx-root,arch1tect0r/root,BerserkerTroll/root,georgtroska/root,Duraznos/root,smarinac/root,pspe/root,mhuwiler/rootauto,Y--/root,mattkretz/root,gbitzes/root,georgtroska/root,perovic/root,agarciamontoro/root,vukasinmilosevic/root,Dr15Jones/root,evgeny-boger/root,beniz/root,sirinath/root,omazapa/root,gbitzes/root,gganis/root,sawenzel/root,vukasinmilosevic/root,olifre/root,cxx-hep/root-cern,mkret2/root,lgiommi/root,beniz/root,davidlt/root,sawenzel/root,pspe/root,arch1tect0r/root,omazapa/root,cxx-hep/root-cern,gbitzes/root,cxx-hep/root-cern,esakellari/root,evgeny-boger/root,abhinavmoudgil95/root,zzxuanyuan/root,vukasinmilosevic/root,thomaskeck/root,kirbyherm/root-r-tools,georgtroska/root,strykejern/TTreeReader,esakellari/root,simonpf/root,simonpf/root,simonpf/root,dfunke/root,agarciamontoro/root,alexschlueter/cern-root,Duraznos/root,gbitzes/root,mhuwiler/rootauto,mkret2/root,tc3t/qoot,jrtomps/root,krafczyk/root,zzxuanyuan/root-compressor-dummy,mkret2/root,BerserkerTroll/root,evgeny-boger/root,omazapa/root-old,simonpf/root,nilqed/root,Dr15Jones/root,mattkretz/root,cxx-hep/root-cern,cxx-hep/root-cern,tc3t/qoot,dfunke/root,strykejern/TTreeReader,dfunke/root,sirinath/root,perovic/root,sbinet/cxx-root,karies/root,karies/root,zzxuanyuan/root-compressor-dummy,0x0all/ROOT,zzxuanyuan/root,nilqed/root,strykejern/TTreeReader,karies/root,smarinac/root,lgiommi/root,tc3t/qoot,satyarth934/root,thomaskeck/root,lgiommi/root,Duraznos/root,dfunke/root,smarinac/root,sawenzel/root,omazapa/root-old,veprbl/root,vukasinmilosevic/root,omazapa/root,jrtomps/root,pspe/root,cxx-hep/root-cern,esakellari/root,mhuwiler/rootauto,tc3t/qoot,omazapa/root,tc3t/qoot,buuck/root,jrtomps/root,gbitzes/root,Duraznos/root,BerserkerTroll/root,Duraznos/root,veprbl/root,jrtomps/root,omazapa/root-old,esakellari/my_root_for_test,satyarth934/root,gganis/root,sbinet/cxx-root,buuck/root,0x0all/ROOT,lgiommi/root,sawenzel/root,evgeny-boger/root,esakellari/root,beniz/root,smarinac/root,vukasinmilosevic/root,mattkretz/root,buuck/root,karies/root,smarinac/root,satyarth934/root,smarinac/root,arch1tect0r/root,mkret2/root,buuck/root,thomaskeck/root,sawenzel/root,buuck/root,lgiommi/root,omazapa/root,olifre/root,sirinath/root,zzxuanyuan/root,sirinath/root,karies/root,CristinaCristescu/root,alexschlueter/cern-root,arch1tect0r/root,veprbl/root,nilqed/root,gganis/root,tc3t/qoot,krafczyk/root,lgiommi/root