aboutsummaryrefslogtreecommitdiffstats
path: root/src/api
Commit message (Collapse)AuthorAgeFilesLines
* Allow it to work under Xvfb.Michael Howell2016-01-191-30/+27
| | | | Part of servo/servo#8641
* Merge pull request #703 from FredrikNoren/mastertomaka2016-01-183-129/+106
|\ | | | | Fix cocoa headless. Fixes #635
| * Construct cocoa headless context based on argsFredrik Noren2016-01-183-98/+105
| |
| * Fix cocoa headlessFredrik Noren2016-01-081-39/+9
| |
* | Adding os::macos.Johan Sköld2016-01-171-1/+1
| | | | | | | | Also implements platform_window() for cocoa.
* | x11: Poll the window until it is really visibleEmilio Cobos Álvarez2016-01-161-9/+22
| | | | | | | | | | | | | | | | | | | | | | | | Fixes #697 It seems that `XSync` doesn't really makes the window viewable. This feels hacky, other option to do it could be using `XIfEvent` or similar to listen to `MapNotify` events, but we'll have a loop still. In practice, this lasts between two and thre iterations on my machine, which is something not noticeable.
* | Prefer double buffer on wgl if unspecifiedDavid Hewson2016-01-141-5/+5
|/ | | | According to https://msdn.microsoft.com/en-us/library/windows/desktop/dd318284(v=vs.85).aspx if double buffer is unavailable then a single buffer will be returned
* Merge pull request #700 from ecoal95/querydevice-leaktomaka2016-01-071-2/+6
|\ | | | | x11: Prevent leak on XIQueryDevice
| * x11: Prevent leak on XIQueryDeviceEmilio Cobos Álvarez2016-01-061-2/+6
| | | | | | | | | | | | | | Per http://linux.die.net/man/3/xiquerydevice: > XIFreeDeviceInfo frees the information returned by > XIQueryDevice.
* | Fix wrong screen ID used on GLXPierre Krieger2016-01-052-7/+8
|/
* Fix EGL for wayland.Victor Berger2016-01-031-6/+6
|
* Add better X error handlingPierre Krieger2015-12-304-5/+83
|
* Merge pull request #687 from Aceeri/mastertomaka2015-12-301-0/+18
|\ | | | | Support for side buttons on mouse
| * Support for side buttons on mouseAceeri2015-12-291-0/+18
| |
* | Add a useless call to `glXQueryVersion()` before doing anything in the GLX ↵Patrick Walton2015-12-291-0/+12
|/ | | | port to work around a bug in the VirtualBox OpenGL driver.
* Merge pull request #684 from AnthIste/0.4.4-cocoa-apitomaka2015-12-291-4/+13
|\ | | | | Implement set_cursor_position on OSX with Cocoa
| * Reduce cursor warp delay with CGAssociateMouseAndMouseCursorPositionRuben Bakker2015-12-291-4/+6
| |
| * Implement set_cursor_position with CGWarpMouseCursorPositionRuben Bakker2015-12-281-4/+11
| |
* | Merge pull request #680 from tomaka/xsynctomaka2015-12-291-8/+14
|\ \ | | | | | | Call XSync before XSetInputFocus
| * | Only call XSetInputFocus if the window is visiblePierre Krieger2015-12-241-12/+14
| | |
| * | Call XSync before XSetInputFocusPierre Krieger2015-12-241-0/+4
| | |
* | | Removed unnecessary unsafe code blockRengierof2015-12-261-5/+3
| | |
* | | Fixes cursor behavior with windowsRengierof2015-12-263-20/+38
|/ /
* | api/wayland: fix cursor errorsVictor Berger2015-12-222-5/+11
| |
* | api/wayland: output and fullscreen handling.Victor Berger2015-12-223-22/+190
| |
* | api/wayland: add keyboard support.Victor Berger2015-12-224-2/+255
| |
* | api/wayland: pointer events support.Victor Berger2015-12-223-9/+119
| |
* | api/wayland: core windows and events structure.Victor Berger2015-12-224-24/+234
| |
* | api/wayland: core contextVictor Berger2015-12-222-1/+44
| |
* | api/wayland: move window and monitor to mods.Victor Berger2015-12-223-218/+213
| |
* | api/wayland: Reset to empty API.Victor Berger2015-12-223-691/+26
|/ | | | In order to build the whole new structure.
* Merge pull request #677 from tomaka/pftomaka2015-12-204-279/+616
|\ | | | | No longer manually enumerate pixel formats
| * Fix compilation on linuxPierre Krieger2015-12-191-52/+59
| |
| * Fix compilation on cocoaPierre Krieger2015-12-191-3/+3
| |
| * Update EGL implementationPierre Krieger2015-12-191-83/+139
| |
| * Update cocoa implementation with changes to pf_reqsPierre Krieger2015-12-191-4/+16
| |
| * Update GLX to use glXChooseFBConfigPierre Krieger2015-12-191-56/+120
| |
| * Switch WGL to ChoosePixelFormatPierre Krieger2015-12-191-105/+303
| |
* | Merge pull request #673 from ahihi/mastertomaka2015-12-201-19/+17
|\ \ | |/ |/| Fix fullscreen on OS X
| * Fix fullscreen on OS XMiranda Kastemaa2015-12-111-19/+17
| |
* | x11: Improve xlib error reportingEmilio Cobos Álvarez2015-12-151-10/+4
|/
* Merge pull request #659 from Aceeri/minmaxwindowtomaka2015-12-057-15/+82
|\ | | | | Minimum/maximum dimensions for windows in win32 API
| * Fixed wrong variable binding for WindowAttributes on assertsAceeri2015-11-092-4/+4
| |
| * Not implemented asserts to prevent silent failsAceeri2015-11-094-0/+16
| |
| * Removed comments, fixed Some/None matches, removed unnecessary lock checksAceeri2015-11-091-13/+8
| |
| * Corrections to sharing dataAceeri2015-11-093-19/+20
| |
| * Minimum/maximum dimensions for windows in win32 apiAceeri2015-11-093-13/+68
| |
* | Fix the windows buildPierre Krieger2015-12-011-3/+3
| |
* | Try to fix Windows buildSimon Sapin2015-12-011-39/+39
| |
* | Update some librariesSimon Sapin2015-12-013-28/+28
| |