aboutsummaryrefslogtreecommitdiffstats
path: root/src/api/x11
Commit message (Collapse)AuthorAgeFilesLines
* Only listen for mouse events from master devicesRobert Knight2015-07-221-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 X11Pierre Krieger2015-07-192-114/+60
|
* Merge pull request #523 from tomaka/egl-splittomaka2015-07-191-2/+2
|\ | | | | Split creating an EGL context in two parts
| * Split creating an EGL context in two partsPierre Krieger2015-07-181-2/+2
| |
* | Address code review feedbackRobert Knight2015-07-131-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 X11Robert Knight2015-06-281-2/+6
| | | | | | | | Fixes #377
* | X11 - Ignore scroll events that happen outside of Glutin windowsRobert Knight2015-06-282-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 eventsRobert Knight2015-06-282-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 handlingRobert Knight2015-06-285-86/+416
|/ | | | | This provides smooth scrolling for touchpad devices and will enable support for touch events etc. in future.
* Fix fullscreen mode on X11Pierre Krieger2015-06-261-15/+31
|
* Merge pull request #488 from tomaka/rem-is-closedtomaka2015-06-171-6/+2
|\ | | | | Remove the is_closed function
| * Remove the is_closed functionPierre Krieger2015-06-161-6/+2
| |
* | Handle errors from MakeCurrent and SwapBuffersPierre Krieger2015-06-161-4/+5
|/
* Merge pull request #484 from pinumbernumber/mastertomaka2015-06-161-1/+25
|\ | | | | Implement transparency for X11
| * Implement transparency for X11pinumbernumber2015-06-141-1/+25
| |
* | Express scroll deltas as either line or pixel deltasRobert Knight2015-06-131-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 IMPierre Krieger2015-06-051-1/+6
|
* Fix set_cursor_state on X11Eduard Bopp2015-05-251-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 linuxPierre Krieger2015-05-211-1/+1
|
* Allow creating EGL contexts on win32 with the AMD DLLsPierre Krieger2015-05-211-2/+2
|
* fixup! Fix handling of numpad keys w.r.t. numlock (derived from fix ↵Avi Weinstock2015-05-181-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 Weinstock2015-05-181-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 connectionPierre Krieger2015-05-174-904/+925
|
* Make platform::linux generic over X11 and Wayland.Victor Berger2015-05-121-5/+7
|
* implement get_platform_window() return for X11Mike Blumenkrantz2015-05-111-1/+1
|
* Fixed build warningsEsption2015-05-081-1/+1
|
* Added mut so glutin can compile on nightly.Esption2015-05-081-1/+1
|
* Using x11_dl instead of x11.Daggerbot2015-05-071-4/+4
|
* Make it work under the raspiPierre Krieger2015-05-071-1/+5
|
* Make x11 dynamicPierre Krieger2015-05-072-73/+100
|
* Removed import of x11::xlib::xkb, which has been absorbed by x11::xlib.Daggerbot2015-05-061-1/+0
|
* Merge pull request #405 from tomaka/win32-wheeltomaka2015-05-061-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 win32Pierre Krieger2015-04-291-2/+2
| |
* | Add a GlContext traitPierre Krieger2015-04-301-44/+47
| |
* | Fix PixelFormat for x11, egl and win32Pierre Krieger2015-04-301-3/+3
|/
* Allow using EGL with X11Pierre Krieger2015-04-251-9/+20
|
* Split GLX and X11 in "api"Pierre Krieger2015-04-251-119/+51
|
* Reorganize the Linux implementation and split OSMesa and X11Pierre Krieger2015-04-246-976/+882
|
* Create reorganizationPierre Krieger2015-04-246-0/+2066