sdl2_frt/src/video/x11
Sam Lantinga 0250eb3c4f Fixed bug 3134 - CalculateXRandRRefreshRate() returns incorrect refresh rate due to floating point truncation.
Michael

In SDL_x11modes.c the CalculateXRandRRefreshRate() function performs integer math on values that may return fractional results. This causes a value that would be calculated as 59.99972... to be returned as 59. In Linux the xrandr command returns 60Hz for this particular display mode yet SDL returns 59Hz.

I suggest this function be updated to correctly round the result of the calculation instead of truncating the result.
2016-10-01 14:16:04 -07:00
..
edid-parse.c Use SDL's stdinc functions instead of C runtime calls. 2016-01-05 02:29:16 -05:00
edid.h
imKStoUCS.c x11: Updated imKStoUCS.* to latest from x.org. 2016-02-08 01:08:21 -05:00
imKStoUCS.h x11: Updated imKStoUCS.* to latest from x.org. 2016-02-08 01:08:21 -05:00
SDL_x11clipboard.c
SDL_x11clipboard.h
SDL_x11dyn.c x11/wayland/mir: Make the dynamic loading macro salsa a little less messy. 2016-02-18 23:27:58 -05:00
SDL_x11dyn.h x11/wayland/mir: Make the dynamic loading macro salsa a little less messy. 2016-02-18 23:27:58 -05:00
SDL_x11events.c x11: fixed incorrect SDL_GetWindowPosition() after resize (thanks, Jason!). 2016-09-29 23:01:43 -04:00
SDL_x11events.h
SDL_x11framebuffer.c
SDL_x11framebuffer.h
SDL_x11keyboard.c x11: Fix AltGr generating an invalid keycode (bug #3244). Thanks Thomas! 2016-01-31 09:39:42 -04:00
SDL_x11keyboard.h
SDL_x11messagebox.c
SDL_x11messagebox.h
SDL_x11modes.c Fixed bug 3134 - CalculateXRandRRefreshRate() returns incorrect refresh rate due to floating point truncation. 2016-10-01 14:16:04 -07:00
SDL_x11modes.h Added SDL_GetDisplayUsableBounds(). 2016-01-04 23:52:40 -05:00
SDL_x11mouse.c
SDL_x11mouse.h
SDL_x11opengl.c X11: Fixed typos in error messages and source comments. 2016-05-20 22:15:28 +02:00
SDL_x11opengl.h
SDL_x11opengles.c
SDL_x11opengles.h
SDL_x11shape.c
SDL_x11shape.h
SDL_x11sym.h x11: fixed incorrect SDL_GetWindowPosition() after resize (thanks, Jason!). 2016-09-29 23:01:43 -04:00
SDL_x11touch.c
SDL_x11touch.h
SDL_x11video.c Added SDL_SetWindowResizable(). (thanks, Ethan!) 2016-09-29 22:52:41 -04:00
SDL_x11video.h x11: Deal with window borders better. 2016-03-04 18:47:19 -05:00
SDL_x11window.c Added SDL_SetWindowResizable(). (thanks, Ethan!) 2016-09-29 22:52:41 -04:00
SDL_x11window.h Added SDL_SetWindowResizable(). (thanks, Ethan!) 2016-09-29 22:52:41 -04:00
SDL_x11xinput2.c
SDL_x11xinput2.h