Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix compilation for 32 bit targets | Olaf Buddenhagen | 2015-11-30 | 1 | -1/+2 |
| | | | | | | | | | | | | | | Regression introduced in 47df0e9eaa7f1231a07f86fc44426936c7a2589a Casting fullscreen_atom (which is the result from XInternAtom, i.e. c_ulong) as i64 is obviously wrong -- the whole point of types such as c_ulong is that long in C does *not* always have the same bit size... Cast it as c_long instead. While this is the most straightforward fix, I'm not sure it's the best one: perhaps the x11 crate should offer a set_ulong() method along with set_long(), which could be used here instead of the cast? | ||||
* | Merge pull request #646 from adambadawy/master | tomaka | 2015-11-11 | 1 | -18/+73 |
|\ | | | | | Fix fullscreen on X11 | ||||
| * | Update x11-dl | Adam Badawy | 2015-10-27 | 1 | -5/+1 |
| | | |||||
| * | Fix using garbage memory | Adam Badawy | 2015-10-27 | 1 | -3/+3 |
| | | |||||
| * | Remove deprecated comment | Adam Badawy | 2015-10-27 | 1 | -3/+0 |
| | | |||||
| * | Use mode when switching to fullscreen | Adam Badawy | 2015-10-27 | 1 | -10/+16 |
| | | |||||
| * | Allow any mode larger than requested dimensions | Adam Badawy | 2015-10-27 | 1 | -1/+1 |
| | | | | | | | | | | We were previously allowing only fullscreen modes which were exactly as tall as the requested dimensions, perhaps erroneously. | ||||
| * | Comment fullscreen XClientMessage code | Adam Badawy | 2015-10-26 | 1 | -6/+9 |
| | | |||||
| * | Fix misbehaving fullscreen window | Adam Badawy | 2015-10-26 | 1 | -8/+51 |
| | | |||||
| * | Fix issue #509 | Adam Badawy | 2015-10-25 | 1 | -0/+10 |
| | | | | | | | | Focusing the newly created window seems to grab the keyboard. | ||||
| * | Fix issue #582 | Adam Badawy | 2015-10-25 | 1 | -2/+2 |
| | | | | | | | | | | I switched `vsyncstart` and `vdisplay` again, as per the discussion on issue #582. | ||||
* | | Remove public exports of gl_common and libc | Pierre Krieger | 2015-11-09 | 1 | -1/+1 |
| | | |||||
* | | Change some uses of c_void to avoid libc version conflicts. | Daggerbot | 2015-11-04 | 1 | -3/+3 |
|/ | |||||
* | Change X11 events based on `multitouch` option | Matt Brubeck | 2015-10-23 | 1 | -1/+1 |
| | | | | | * If `multitouch` is enabled, touch input generates touch events. * If `multitouch` is disabled, touch input generates emulated mouse events. | ||||
* | Add an `os` module containing platform-specific traits | Pierre Krieger | 2015-10-03 | 1 | -0/+10 |
| | |||||
* | Rename MonitorID -> MonitorId | Pierre Krieger | 2015-09-24 | 1 | -3/+3 |
| | |||||
* | Add #[inline] attributes | Pierre Krieger | 2015-09-23 | 1 | -1/+17 |
| | |||||
* | Switch X11 and wayland to the new design | Pierre Krieger | 2015-09-21 | 1 | -18/+23 |
| | |||||
* | Convert GLX to the new design | Pierre Krieger | 2015-09-21 | 1 | -4/+5 |
| | |||||
* | Switch EGL to use only pf_reqs and opengl | Pierre Krieger | 2015-09-21 | 1 | -2/+3 |
| | |||||
* | Extract WindowAttributes from the BuilderAttribs | Pierre Krieger | 2015-09-21 | 1 | -9/+9 |
| | |||||
* | Extract GlAttributes from BuilderAttribs | Pierre Krieger | 2015-09-21 | 1 | -1/+1 |
| | |||||
* | Correct event type | Mariusz Ceier | 2015-08-28 | 1 | -1/+1 |
| | | | | | KeymapNotify should not be handled by calling XRefreshKeyboardMapping. XRefreshKeyboardMapping expects XMappingEvent. | ||||
* | 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 |
| | |||||
* | Use EGL by default with X11 | Pierre Krieger | 2015-07-28 | 1 | -3/+3 |
| | |||||
* | 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) | ||||
* | Correct window creation on X11 | Pierre Krieger | 2015-07-19 | 1 | -114/+59 |
| | |||||
* | 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() | ||||
* | | X11 - Ignore scroll events that happen outside of Glutin windows | Robert Knight | 2015-06-28 | 1 | -2/+1 |
| | | | | | | | | | | | | | | | | | | | | | | 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 | 1 | -4/+6 |
| | | | | | | | | | | | | | | * 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 | 1 | -86/+73 |
|/ | | | | | 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 | 1 | -0/+803 |