Commit Graph

18 Commits

Author SHA1 Message Date
Ioannis Tsakpinis 8bb7dfefc6 Store XRandR frequencies in the original format to improve #64
Also, reset the screen configuration on exit only if there has been a display mode change.
2016-09-09 17:25:50 +03:00
tulius 0b83683ed1 further fixes for exotic xrandr outputs 2015-04-29 21:14:04 +02:00
Ioannis Tsakpinis 46f602f0c6 Code clean-up and minor optimizations. Also made sure that the current mode is always first. 2014-09-13 12:18:40 +03:00
tulius e74811e5e7 linux: fix parsing of xrandr output for rare screen configurations
fixes not detecting the current mode if it is not the first on in its list
fixes crash when preferred mode is not current mode
2014-09-03 22:33:40 +02:00
tulius 518ad21d6c linux: improved xrandr-based display mode changing
- fullscreen windows appear on primary screen
- bits per pixel is derived from old getAvailableDisplayModes
- removed debug output
2014-08-10 01:38:00 +02:00
tulius b83d29e265 linux: use xrandr for all display mode changing 2014-05-11 18:04:21 +02:00
tulius fc5749e42e Fixed reverting screen settings on exit for multi-monitor setups 2014-03-03 14:44:31 +01:00
tulius a595fe1a5a Test: Read frequency with xrandr 2014-02-16 17:03:49 +01:00
tulius ad78b69d3a fix: correctly parse current config with xrandr 1.4 2013-04-27 21:49:29 +02:00
Ioannis Tsakpinis a8bcb7fd25 Ported codebase to Java 1.5.
Misc OpenCL fixes and API improvements.
Changed fractal demo to use events/sync objects instead of cl/glFinish for synchronization. (untested)
2010-09-28 21:11:35 +00:00
Ioannis Tsakpinis eebd82198c Added support for Compiz's legacy fullscreen workaround. 2010-07-07 12:37:40 +00:00
kappa1 7ed3a9001a XRandr add missing casts 2010-05-21 22:26:23 +00:00
kappa1 a54c5c40e1 Further XRandR fixes, it now catches throwable in populate(), if there are any problems in parsing the xrandr output we revert to LWJGL's regular behaviour. All output now goes to LWJGLUtil.log() instead of the out.println and err.println. Credit to Ryanm for patch. 2010-05-21 22:12:57 +00:00
kappa1 fc21a7735d XrandR fix for parsing some screen sizes, credit to MatthiasM for providing patch. 2010-05-20 18:11:47 +00:00
kappa1 965e398053 Remove extra permissions from XRandR and just allow minimal permissions needed by the LinuxDisplay. 2010-04-22 18:32:46 +00:00
kappa1 8f784c424c minor tweak to XRandR class to add AccessControllers to remaining methods that need it. 2010-04-16 19:06:53 +00:00
kappa1 34427b80f7 fix: When using unsigned jars with signed lwjgl jars it fails when creating a Display on linux with an AccessController error. This is due to the new XRandR class missing a AccessController.doPriviledged method when it requires out of sandbox access. (LWJGL Applet Distribution is borken on linux without this fix) 2010-04-14 22:34:43 +00:00
Brian Matzon 0eed407ef8 added new XRandR stuff
fixed credits doc a bit
2010-03-08 21:29:32 +00:00