FIX: prevent switching to windowed mode on windowing system not actually supporting it
FIX: do not mark resolution as changed if it didn't
Merge pull request #5294 from koying/fixdroidwindowed

FIX: prevent switching to windowed mode if windowing do not support it