aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Err when a X connection cannot be created instead of panickingPierre Krieger2015-09-204-12/+48
| | |
* | | add resizable mask to decoration-less windowsPaul Rouget2015-09-171-1/+2
| | |
* | | Add focus and defocus events on cocoa. Fixes #595Felix Kaaman2015-09-101-1/+25
| | |
* | | Merge pull request #590 from tomaka/glx-non-conformanttomaka2015-09-041-3/+4
|\ \ \ | |_|/ |/| | No longer filter out non-conformant formats
| * | No longer filter out non-conformant formatsPierre Krieger2015-08-301-3/+4
| | |
* | | Merge pull request #580 from mbrubeck/scroll-linestomaka2015-09-011-10/+11
|\ \ \ | |/ / |/| | Fix smooth-scrolling increment on some X11 devices
| * | Read scroll axis info from all devicesMatt Brubeck2015-08-271-3/+2
| | | | | | | | | | | | | | | When multiple scrolling devices are attached, XIAllMasterDevices does not include the scroll axes for all hardware devices.
| * | Take XIScrollClassInfo::increment into accountMatt Brubeck2015-08-241-7/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | From the "Smooth Scrolling" section of [XI2Proto.txt][1]: > One unit of scrolling in either direction is considered to be equivalent to > one button event, e.g. for a unit size of 1.0, -2.0 on an valuator type > Vertical sends two button press/release events for button 4. Likewise, a > button press event for button 7 generates an event on the Horizontal > valuator with a value of +1.0. The server may accumulate deltas of less than > one unit of scrolling. From [What's new in XI 2.1 - smooth scrolling][2]: > The increment defines what delta the driver considers to be one scroll > event. For an increment of +5, each delta of 5 should be regarded as one > scroll unit down. For an increment of -3, each delta of 3 should be regarded > as one scroll unit up (i.e. inverted). [1]: http://www.x.org/releases/X11R7.7/doc/inputproto/XI2proto.txt [2]: http://who-t.blogspot.com/2011/09/whats-new-in-xi-21-smooth-scrolling.html This fixes scrolling with my Microsoft mouse in X11 on Debian 8.1.
* | | Make it work on DragonFly/FreeBSDMichael Neumann2015-08-3010-10/+15
| |/ |/| | | | | Tested on DragonFly BSD. Should work similarily on FreeBSD.
* | Correct event typeMariusz Ceier2015-08-281-1/+1
| | | | | | | | | | KeymapNotify should not be handled by calling XRefreshKeyboardMapping. XRefreshKeyboardMapping expects XMappingEvent.
* | Fix android buildGlenn Watson2015-08-282-98/+112
| |
* | Modified Windows key event handling to support modifier keys.Dylan Ede2015-08-262-10/+23
|/
* Do not crash in case of buggy EGL implementations that are missing ↵Pierre Krieger2015-08-241-8/+28
| | | | eglGetPlatformDisplay
* wayland: Resized eventVictor Berger2015-08-212-1/+15
|
* wayland: fix events Moved -> MouseMovedVictor Berger2015-08-211-1/+1
|
* Cleanup unused import stuffPeter Atashian2015-08-213-17/+10
| | | | | | Also support i686-pc-windows-msvc Signed-off-by: Peter Atashian <retep998@gmail.com>
* Do not call nextEventMatchingMask twicePaul Rouget2015-08-201-106/+108
| | | | | | | | | | | wait_event used to call nextEventMatchingMask twice. Once with untilDate:distantFuture, and dequeue:NO to wait until the next event but witout consuming it, and again with untilDate:distantPast and dequeue:YES to retrieve the event (via poll_events). For some reason, with osx 10.11, calling nextEventMatchingMask with dequeue:NO never returns if the user scrolls, freezing the app. So we now call nextEventMatchingMask only once, with dequeue:YES.
* Handle touch events on X11Matt Brubeck2015-08-181-2/+20
|
* Enable grave key on X11Colin Sherratt2015-08-171-1/+1
|
* wayland: properly handle 'decorated' option.Victor Berger2015-08-161-10/+14
|
* Update wayland backend to draw decorations.Victor Berger2015-08-162-28/+164
| | | | | | | | Integrate with wayland-window crate to draw decorations allowing resize & move of the window. Leaving the wayland backend as disabled until full usability is ensured.
* Prefer GLX over EGLZetok Zalbavar2015-08-141-3/+5
| | | | | | | | fixes #314 for me. I've "tested" change by running examples (which prior to change simply crashed), but since I did not run those examples successfuly ever before, I don't know whether they worked as intended.
* Merge pull request #567 from paulrouget/opengl-profile-selection-fixtomaka2015-08-131-6/+14
|\ | | | | Fix OpenGL profile selection
| * Fix OpenGL profile selectionPaul Rouget2015-08-111-6/+14
| |
* | Fix a rare crash in some X11 implementations (details below).Glenn Watson2015-08-111-15/+38
|/
* Correctly handle eglGetDisplayPierre Krieger2015-08-076-22/+100
|
* Get the list of extensions only oncePierre Krieger2015-08-071-28/+50
|
* Removed dot in error messageSven Nilsen2015-08-051-1/+1
| | | | Closes https://github.com/tomaka/glutin/issues/562
* Typo in error messageBraden Evans2015-08-041-1/+1
|
* Implement Display, Error for ContextErrorBraden Evans2015-08-041-1/+22
|
* Merge pull request #553 from tomaka/egl-defaulttomaka2015-08-021-3/+3
|\ | | | | Use EGL by default with X11
| * Use EGL by default with X11Pierre Krieger2015-07-281-3/+3
| |
* | Try libEGL.so.1 before libEGL.soPierre Krieger2015-07-281-1/+4
| |
* | Merge pull request #551 from tomaka/android-headlesstomaka2015-07-282-33/+40
|\ \ | | | | | | Implement headless contexts on android
| * | Implement headless contexts on androidPierre Krieger2015-07-272-33/+40
| |/
* | Headless contexts now create an EGL pbuffer on win32Pierre Krieger2015-07-271-8/+46
| |
* | Load the EGL library in platform/windowsPierre Krieger2015-07-273-26/+78
|/
* Merge pull request #548 from tomaka/egl-pbuffertomaka2015-07-271-1/+30
|\ | | | | Add support for creating a pbuffer with EGL
| * Add support for creating a pbuffer with EGLPierre Krieger2015-07-271-1/+30
| |
* | Indicate the exact error when eglMakeCurrent or eglSwapBuffers failPierre Krieger2015-07-261-8/+6
|/
* Merge pull request #547 from tomaka/better-choicetomaka2015-07-251-19/+64
|\ | | | | Better choice for the pixel format
| * Better choice for the pixel formatPierre Krieger2015-07-251-19/+64
| |
* | Attempt to fix issues with sRGBPierre Krieger2015-07-251-0/+10
|/
* Keep existing function for backward compatibilitySven Nilsen2015-07-251-0/+14
|
* Split `get_inner_size`Sven Nilsen2015-07-251-1/+16
| | | | | | | | | Closes https://github.com/tomaka/glutin/issues/542 * Splits `get_inner_size` into `get_inner_size_points` and `get_inner_size_pixels` This is a breaking change.
* Fixed docs for `get_inner_size`Sven Nilsen2015-07-251-3/+2
| | | | Closes https://github.com/tomaka/glutin/issues/388
* Implement Window.set_inner_size on X11.Daggerbot2015-07-231-3/+3
|
* Add aarch64-unknown-linux-gnu supportAkos Kiss2015-07-231-2/+2
| | | | | | * Adding dependencies * Replacing `i8` with `c_char` ot `_` (since `c_char` can be unsigned on some platforms, aarch64 is one of them)
* Filter invalid FBConfigsPierre Krieger2015-07-221-0/+16
|
* Merge pull request #536 from tomaka/fix-using-freed-memorytomaka2015-07-221-2/+3
|\ | | | | Fix calling XFree before reading from memory