Fixed a race condition that could cause a crash during X11 init. Don't
commit292a4e885568d90ba6f00ef7c1f2b831bedf4562
authorneil <neil@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Wed, 27 Dec 2017 23:39:21 +0000 (27 23:39 +0000)
committerneil <neil@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Wed, 27 Dec 2017 23:39:21 +0000 (27 23:39 +0000)
treeef48e178fe0f2448a34a26cf7a31382d7b0513e8
parentaf1663d62e5c51217c8d4c9b343915945b976854
Fixed a race condition that could cause a crash during X11 init. Don't
notify the X11 task about window creation nor ask it to map the window
until after we've set the X11 GC (graphics context), as we need the GC
when handling the mapping event we get after the map request.

git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@54982 fb15a70f-31f2-0310-bbcc-cdcc74a49acc
arch/all-hosted/hidd/x11/x11_init.c
arch/all-hosted/hidd/x11/x11gfx_bitmap.h
arch/all-hosted/hidd/x11/x11gfx_bitmapclass.c
arch/all-hosted/hidd/x11/x11gfx_onbitmap.c