author | David Gow <david@ingeniumdigital.com> |
Sat, 13 Jul 2013 11:06:34 +0800 | |
changeset 7431 | 0fc94f315dac |
parent 7430 | f204394628db |
child 7432 | 58908b180ebd |
--- a/src/video/x11/SDL_x11modes.c Fri Jul 12 23:45:12 2013 -0700 +++ b/src/video/x11/SDL_x11modes.c Sat Jul 13 11:06:34 2013 +0800 @@ -704,9 +704,9 @@ mode.driverdata = modedata; SDL_AddDisplayMode(sdl_display, &mode); } - else + else if (!data->use_xrandr) { - /* Add the current mode of each monitor otherwise */ + /* Add the current mode of each monitor otherwise if we can't get them from xrandr */ mode.w = data->xinerama_info.width; mode.h = data->xinerama_info.height; mode.refresh_rate = 0;