Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #700 from ecoal95/querydevice-leak | tomaka | 2016-01-07 | 1 | -2/+6 |
|\ | | | | | x11: Prevent leak on XIQueryDevice | ||||
| * | x11: Prevent leak on XIQueryDevice | Emilio Cobos Álvarez | 2016-01-06 | 1 | -2/+6 |
| | | | | | | | | | | | | | | Per http://linux.die.net/man/3/xiquerydevice: > XIFreeDeviceInfo frees the information returned by > XIQueryDevice. | ||||
* | | Fix wrong screen ID used on GLX | Pierre Krieger | 2016-01-05 | 1 | -1/+1 |
|/ | |||||
* | Add better X error handling | Pierre Krieger | 2015-12-30 | 4 | -5/+83 |
| | |||||
* | Only call XSetInputFocus if the window is visible | Pierre Krieger | 2015-12-24 | 1 | -12/+14 |
| | |||||
* | Call XSync before XSetInputFocus | Pierre Krieger | 2015-12-24 | 1 | -0/+4 |
| | |||||
* | x11: Improve xlib error reporting | Emilio Cobos Álvarez | 2015-12-15 | 1 | -10/+4 |
| | |||||
* | Merge pull request #659 from Aceeri/minmaxwindow | tomaka | 2015-12-05 | 1 | -0/+4 |
|\ | | | | | Minimum/maximum dimensions for windows in win32 API | ||||
| * | Fixed wrong variable binding for WindowAttributes on asserts | Aceeri | 2015-11-09 | 1 | -2/+2 |
| | | |||||
| * | Not implemented asserts to prevent silent fails | Aceeri | 2015-11-09 | 1 | -0/+4 |
| | | |||||
* | | 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 | 2 | -4/+20 |
| | | | | | * If `multitouch` is enabled, touch input generates touch events. * If `multitouch` is disabled, touch input generates emulated mouse events. | ||||
* | Remove the window feature entirely | Pierre Krieger | 2015-10-03 | 1 | -1/+1 |
| | |||||
* | Add an `os` module containing platform-specific traits | Pierre Krieger | 2015-10-03 | 1 | -0/+10 |
| | |||||
* | Rename MonitorID -> MonitorId | Pierre Krieger | 2015-09-24 | 3 | -11/+11 |
| | |||||
* | Add #[inline] attributes | Pierre Krieger | 2015-09-23 | 3 | -1/+23 |
| | |||||
* | 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 |
| | |||||
* | Report the error from x11-rs when failing to open shared libraries | Pierre Krieger | 2015-09-20 | 2 | -8/+31 |
| | |||||
* | Err when a X connection cannot be created instead of panicking | Pierre Krieger | 2015-09-20 | 2 | -5/+19 |
| | |||||
* | Merge pull request #580 from mbrubeck/scroll-lines | tomaka | 2015-09-01 | 1 | -10/+11 |
|\ | | | | | Fix smooth-scrolling increment on some X11 devices | ||||
| * | Read scroll axis info from all devices | Matt Brubeck | 2015-08-27 | 1 | -3/+2 |
| | | | | | | | | | | When multiple scrolling devices are attached, XIAllMasterDevices does not include the scroll axes for all hardware devices. | ||||
| * | Take XIScrollClassInfo::increment into account | Matt Brubeck | 2015-08-24 | 1 | -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/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) |