Fix crash because XSetInputFocus fail.
authorDiego Borghetti <bdiego@gmail.com>
Mon, 4 May 2009 15:31:28 +0000 (15:31 +0000)
committerDiego Borghetti <bdiego@gmail.com>
Mon, 4 May 2009 15:31:28 +0000 (15:31 +0000)
commit0999cf406abc3989b8a5216d86c468e251c1bdb6
tree5397f3d7223c6be4e64a228cdfe6f9d31218518a
parent42d571bf19381e8322b5848db57f97a1c2d7d102
Fix crash because XSetInputFocus fail.

Some WM send a WM_TAKE_FOCUS event before the window is really mapped
(for example, change from virtual desktop), because of this, the call
to XSetInputFocus fail and close Blender.
intern/ghost/intern/GHOST_SystemX11.cpp