Call x11_fullscreen_supported(), otherwise the global variables
commit3ce49979b14b1a46ce4ffbc04436f39a32c28fb4
authormazze <mazze@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Sun, 1 Jul 2012 11:23:47 +0000 (1 11:23 +0000)
committermazze <mazze@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Sun, 1 Jul 2012 11:23:47 +0000 (1 11:23 +0000)
tree40017a877aab15df1affc6038182e68ceb55e092
parent5aa45710267f8fba4495ae9a602a1c22f751e43b
Call x11_fullscreen_supported(), otherwise the global variables
"videomodes" and "num_videomodes" won't be initialized.

Added null pointer check to x11_fullscreen_switchmode(). Isn't
really necessary because of previous fix but it doesn't hurt.

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