Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Make it work on DragonFly/FreeBSD | Michael Neumann | 2015-08-30 | 1 | -1/+1 |
| | | | | Tested on DragonFly BSD. Should work similarily on FreeBSD. | ||||
* | Correct event type | Mariusz Ceier | 2015-08-28 | 1 | -1/+1 |
| | | | | | KeymapNotify should not be handled by calling XRefreshKeyboardMapping. XRefreshKeyboardMapping expects XMappingEvent. | ||||
* | Handle touch events on X11 | Matt Brubeck | 2015-08-18 | 1 | -2/+20 |
| | |||||
* | Enable grave key on X11 | Colin Sherratt | 2015-08-17 | 1 | -1/+1 |
| | |||||
* | Prefer GLX over EGL | Zetok Zalbavar | 2015-08-14 | 1 | -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. | ||||
* | Fix a rare crash in some X11 implementations (details below). | Glenn Watson | 2015-08-11 | 1 | -15/+38 |
| | |||||
* | Correctly handle eglGetDisplay | Pierre Krieger | 2015-08-07 | 1 | -2/+3 |
| | |||||
* | Merge pull request #553 from tomaka/egl-default | tomaka | 2015-08-02 | 1 | -3/+3 |
|\ | | | | | Use EGL by default with X11 | ||||
| * | Use EGL by default with X11 | Pierre Krieger | 2015-07-28 | 1 | -3/+3 |
| | | |||||
* | | Try libEGL.so.1 before libEGL.so | Pierre Krieger | 2015-07-28 | 1 | -1/+4 |
|/ | |||||
* | Implement Window.set_inner_size on X11. | Daggerbot | 2015-07-23 | 1 | -3/+3 |
| | |||||
* | Add aarch64-unknown-linux-gnu support | Akos Kiss | 2015-07-23 | 1 | -2/+2 |
| | | | | | | * Adding dependencies * Replacing `i8` with `c_char` ot `_` (since `c_char` can be unsigned on some platforms, aarch64 is one of them) | ||||
* | Only listen for mouse events from master devices | Robert Knight | 2015-07-22 | 1 | -1/+1 |
| | | | | | | | | | | | | | | XInput2 has a concept of master and slave devices, where a slave device is the actual physical device, attached to a master device representing the cursor or keyboard focus. See http://who-t.blogspot.co.uk/2009/05/xi2-recipes-part-1.html Mouse events were being received from both the master and slave devices, but we are only interested in events from the master device. Fixes #533 | ||||
* | Correct window creation on X11 | Pierre Krieger | 2015-07-19 | 2 | -114/+60 |
| | |||||
* | Merge pull request #523 from tomaka/egl-split | tomaka | 2015-07-19 | 1 | -2/+2 |
|\ | | | | | Split creating an EGL context in two parts | ||||
| * | Split creating an EGL context in two parts | Pierre Krieger | 2015-07-18 | 1 | -2/+2 |
| | | |||||
* | | Address code review feedback | Robert Knight | 2015-07-13 | 1 | -31/+24 |
| | | | | | | | | | | | | | | | | * Fix an issue where PollEventsIterator::next() would fail to return keyboard input and mouse events immediately but instead only return them on the next call to next() * Inline process_generic_event() and queue_event() | ||||
* | | Report focus in/out events under X11 | Robert Knight | 2015-06-28 | 1 | -2/+6 |
| | | | | | | | | Fixes #377 | ||||
* | | X11 - Ignore scroll events that happen outside of Glutin windows | Robert Knight | 2015-06-28 | 2 | -4/+15 |
| | | | | | | | | | | | | | | | | | | | | | | Scroll deltas are calculated in X11 by comparing the current and previous absolute values for the scroll axis when a scroll motion event is received. If the user scrolls whilst the cursor is outside of the window then an incorrect delta is reported when the cursor re-enters the window. Fix this by resetting the last-seen axis values whenever the cursor re-enters the window. | ||||
* | | Remove XInput2 code for handling keyboard events | Robert Knight | 2015-06-28 | 2 | -58/+35 |
| | | | | | | | | | | | | | | * For the moment we're still using plain core X11 events for handling keyboard activity, so remove the XInput2 code for that * Small refactoring of X11 input handling and documentation fixes | ||||
* | | Use XInput2 for event handling | Robert Knight | 2015-06-28 | 5 | -86/+416 |
|/ | | | | | This provides smooth scrolling for touchpad devices and will enable support for touch events etc. in future. | ||||
* | Fix fullscreen mode on X11 | Pierre Krieger | 2015-06-26 | 1 | -15/+31 |
| | |||||
* | Merge pull request #488 from tomaka/rem-is-closed | tomaka | 2015-06-17 | 1 | -6/+2 |
|\ | | | | | Remove the is_closed function | ||||
| * | Remove the is_closed function | Pierre Krieger | 2015-06-16 | 1 | -6/+2 |
| | | |||||
* | | Handle errors from MakeCurrent and SwapBuffers | Pierre Krieger | 2015-06-16 | 1 | -4/+5 |
|/ | |||||
* | Merge pull request #484 from pinumbernumber/master | tomaka | 2015-06-16 | 1 | -1/+25 |
|\ | | | | | Implement transparency for X11 | ||||
| * | Implement transparency for X11 | pinumbernumber | 2015-06-14 | 1 | -1/+25 |
| | | |||||
* | | Express scroll deltas as either line or pixel deltas | Robert Knight | 2015-06-13 | 1 | -2/+5 |
|/ | | | | | | | | | | | | Depending on the platform and device, scroll deltas may either be represented as pixel deltas specifying the amount in pixels to scroll or they may be expressed in 'lines' or 'chunks' for low resolution devices (eg. a traditional mouse wheel). Pixel deltas are currently available on OS X. X11 currently supports only integer line deltas, though pixel deltas are available via XInput2. Windows supports fractional line deltas. | ||||
* | Fix leaking color map and destruction of IM | Pierre Krieger | 2015-06-05 | 1 | -1/+6 |
| | |||||
* | Fix set_cursor_state on X11 | Eduard Bopp | 2015-05-25 | 1 | -4/+9 |
| | | | | | When the state is not changed, no code must be executed. Such no-ops previously hit the unimplemented cursor hiding. | ||||
* | Fix the compilation on 32bits linux | Pierre Krieger | 2015-05-21 | 1 | -1/+1 |
| | |||||
* | Allow creating EGL contexts on win32 with the AMD DLLs | Pierre Krieger | 2015-05-21 | 1 | -2/+2 |
| | |||||
* | fixup! Fix handling of numpad keys w.r.t. numlock (derived from fix ↵ | Avi Weinstock | 2015-05-18 | 1 | -1/+1 |
| | | | | mentioned at http://www.kaffe.org/pipermail/kaffe/2000-April/175201.html). | ||||
* | Fix handling of numpad keys w.r.t. numlock (derived from fix mentioned at ↵ | Avi Weinstock | 2015-05-18 | 1 | -2/+8 |
| | | | | | | | http://www.kaffe.org/pipermail/kaffe/2000-April/175201.html). Conflicts: src/api/x11/window.rs | ||||
* | Rework the X implementation to use only one X connection | Pierre Krieger | 2015-05-17 | 4 | -904/+925 |
| | |||||
* | Make platform::linux generic over X11 and Wayland. | Victor Berger | 2015-05-12 | 1 | -5/+7 |
| | |||||
* | implement get_platform_window() return for X11 | Mike Blumenkrantz | 2015-05-11 | 1 | -1/+1 |
| | |||||
* | Fixed build warnings | Esption | 2015-05-08 | 1 | -1/+1 |
| | |||||
* | Added mut so glutin can compile on nightly. | Esption | 2015-05-08 | 1 | -1/+1 |
| | |||||
* | Using x11_dl instead of x11. | Daggerbot | 2015-05-07 | 1 | -4/+4 |
| | |||||
* | Make it work under the raspi | Pierre Krieger | 2015-05-07 | 1 | -1/+5 |
| | |||||
* | Make x11 dynamic | Pierre Krieger | 2015-05-07 | 2 | -73/+100 |
| | |||||
* | Removed import of x11::xlib::xkb, which has been absorbed by x11::xlib. | Daggerbot | 2015-05-06 | 1 | -1/+0 |
| | |||||
* | Merge pull request #405 from tomaka/win32-wheel | tomaka | 2015-05-06 | 1 | -2/+2 |
|\ | | | | | [Breaking change] Fix mouse wheel value on win32 and return a f64 instead of i32 in the MouseWheel event | ||||
| * | Rework MouseWheel event and fix the values on win32 | Pierre Krieger | 2015-04-29 | 1 | -2/+2 |
| | | |||||
* | | Add a GlContext trait | Pierre Krieger | 2015-04-30 | 1 | -44/+47 |
| | | |||||
* | | Fix PixelFormat for x11, egl and win32 | Pierre Krieger | 2015-04-30 | 1 | -3/+3 |
|/ | |||||
* | Allow using EGL with X11 | Pierre Krieger | 2015-04-25 | 1 | -9/+20 |
| | |||||
* | Split GLX and X11 in "api" | Pierre Krieger | 2015-04-25 | 1 | -119/+51 |
| | |||||
* | Reorganize the Linux implementation and split OSMesa and X11 | Pierre Krieger | 2015-04-24 | 6 | -976/+882 |
| |