The EWMH check requires an open display.

Fixes a crash when a program calls take_focus() before any window has been show()n.


git-svn-id: http://seriss.com/public/fltk/fltk/branches/branch-1.3@10434 ea41ed52-d2ee-0310-a9c1-e6b18d33e121